Skip to contentSkip to conversation

octeontx2-af: Fix marking couple of structure as __packed

PATCH Applied Suman Ghosh 3 participants 3 messages Dec 19, 2023 – Dec 26, 2023

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 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")

---
v2 changes:
- Updated commit description.

 drivers/net/ethernet/marvell/octeontx2/af/npc.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/ethernet/marvell/octeontx2/af/npc.h +2 -2
index ab3e39eef2eb..8c0732c9a7ee 100644
@@ -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;
Signature · 1 line
2.25.1
#1 lore raw
Quoted 13 lines

-----Original Message-----
From: Suman Ghosh <[email protected]>
Sent: Tuesday, December 19, 2023 6:27 AM
To: [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]
Cc: Suman Ghosh <[email protected]>; Keller, Jacob E <[email protected]>
Subject: [net PATCH v2] octeontx2-af: Fix marking couple of structure as __packed

Quoted 6 lines

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")

Yep, thanks for improving the commit message.

-Jake

#2 lore raw
In reply to Suman Ghosh
This patch was applied to netdev/net.git (main) by David S. Miller <[email protected]>:

Hello:

This patch was applied to netdev/net.git (main)
by David S. Miller <[email protected]>:

Quoted 8 lines · On Tue, 19 Dec 2023 19:56:33 +0530 you wrote:

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")

[...]

Here is the summary with links:
- [net,v2] octeontx2-af: Fix marking couple of structure as __packed

    https://git.kernel.org/netdev/net/c/0ee2384a5a0f

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html