mirror of
https://github.com/torvalds/linux.git
synced 2026-06-05 04:56:13 +02:00
octeontx2-af: Fix marking couple of structure as __packed
[ Upstream commit0ee2384a5a] Couple of structures was not marked as __packed. This patch fixes the same and mark them as __packed. Fixes:42006910b5("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> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
fb195df905
commit
029d4ab2b7
|
|
@ -520,7 +520,7 @@ struct npc_lt_def {
|
|||
u8 ltype_mask;
|
||||
u8 ltype_match;
|
||||
u8 lid;
|
||||
};
|
||||
} __packed;
|
||||
|
||||
struct npc_lt_def_ipsec {
|
||||
u8 ltype_mask;
|
||||
|
|
@ -528,7 +528,7 @@ struct npc_lt_def_ipsec {
|
|||
u8 lid;
|
||||
u8 spi_offset;
|
||||
u8 spi_nz;
|
||||
};
|
||||
} __packed;
|
||||
|
||||
struct npc_lt_def_apad {
|
||||
u8 ltype_mask;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user