summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/marvell
diff options
context:
space:
mode:
authorSuman Ghosh <sumang@marvell.com>2023-12-19 15:26:33 +0100
committerDavid S. Miller <davem@davemloft.net>2023-12-26 21:29:42 +0100
commit0ee2384a5a0f3b4eeac8d10bb01a0609d245a4d1 (patch)
tree5b721c330b32b1832d332f5e1a51388d9d7e7ad3 /drivers/net/ethernet/marvell
parentMerge branch 'nfc-refcounting' (diff)
downloadlinux-0ee2384a5a0f3b4eeac8d10bb01a0609d245a4d1.tar.xz
linux-0ee2384a5a0f3b4eeac8d10bb01a0609d245a4d1.zip
octeontx2-af: Fix marking couple of structure as __packed
Couple of structures was not marked as __packed. This patch fixes the same and mark them as __packed. Fixes: 42006910b5ea ("octeontx2-af: cleanup KPU config data") Signed-off-by: Suman Ghosh <sumang@marvell.com> Reviewed-by: Jacob Keller <jacob.e.keller@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/marvell')
-rw-r--r--drivers/net/ethernet/marvell/octeontx2/af/npc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/marvell/octeontx2/af/npc.h b/drivers/net/ethernet/marvell/octeontx2/af/npc.h
index ab3e39eef2eb..8c0732c9a7ee 100644
--- a/drivers/net/ethernet/marvell/octeontx2/af/npc.h
+++ b/drivers/net/ethernet/marvell/octeontx2/af/npc.h
@@ -528,7 +528,7 @@ struct npc_lt_def {
u8 ltype_mask;
u8 ltype_match;
u8 lid;
-};
+} __packed;
struct npc_lt_def_ipsec {
u8 ltype_mask;
@@ -536,7 +536,7 @@ struct npc_lt_def_ipsec {
u8 lid;
u8 spi_offset;
u8 spi_nz;
-};
+} __packed;
struct npc_lt_def_apad {
u8 ltype_mask;