octeontx2-af: Fix marking couple of structure as __packed
[ Upstream commit 0ee2384a5a0f3b4eeac8d10bb01a0609d245a4d1 ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
db20f1ea75
commit
e22be63c2e
1 changed files with 2 additions and 2 deletions
|
@ -359,7 +359,7 @@ struct npc_lt_def {
|
||||||
u8 ltype_mask;
|
u8 ltype_mask;
|
||||||
u8 ltype_match;
|
u8 ltype_match;
|
||||||
u8 lid;
|
u8 lid;
|
||||||
};
|
} __packed;
|
||||||
|
|
||||||
struct npc_lt_def_ipsec {
|
struct npc_lt_def_ipsec {
|
||||||
u8 ltype_mask;
|
u8 ltype_mask;
|
||||||
|
@ -367,7 +367,7 @@ struct npc_lt_def_ipsec {
|
||||||
u8 lid;
|
u8 lid;
|
||||||
u8 spi_offset;
|
u8 spi_offset;
|
||||||
u8 spi_nz;
|
u8 spi_nz;
|
||||||
};
|
} __packed;
|
||||||
|
|
||||||
struct npc_lt_def_cfg {
|
struct npc_lt_def_cfg {
|
||||||
struct npc_lt_def rx_ol2;
|
struct npc_lt_def rx_ol2;
|
||||||
|
|
Loading…
Add table
Reference in a new issue