Skip to content

Commit 0ee2384

Browse files
sumang-mrvldavem330
authored andcommitted
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: 4200691 ("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>
1 parent dff90e4 commit 0ee2384

File tree

1 file changed

+2
-2
lines changed
  • drivers/net/ethernet/marvell/octeontx2/af

1 file changed

+2
-2
lines changed

drivers/net/ethernet/marvell/octeontx2/af/npc.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -528,15 +528,15 @@ struct npc_lt_def {
528528
u8 ltype_mask;
529529
u8 ltype_match;
530530
u8 lid;
531-
};
531+
} __packed;
532532

533533
struct npc_lt_def_ipsec {
534534
u8 ltype_mask;
535535
u8 ltype_match;
536536
u8 lid;
537537
u8 spi_offset;
538538
u8 spi_nz;
539-
};
539+
} __packed;
540540

541541
struct npc_lt_def_apad {
542542
u8 ltype_mask;

0 commit comments

Comments
 (0)