netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [net PATCH v2] octeontx2-af: Fix marking couple of structure as __packed
@ 2023-12-19 14:26 Suman Ghosh
  2023-12-19 20:59 ` Keller, Jacob E
  2023-12-26 20:30 ` patchwork-bot+netdevbpf
  0 siblings, 2 replies; 3+ messages in thread
From: Suman Ghosh @ 2023-12-19 14:26 UTC (permalink / raw)
  To: davem, edumazet, kuba, pabeni, sgoutham, sbhatta, jerinj, gakula,
	hkelam, lcherian, netdev, linux-kernel
  Cc: Suman Ghosh, Jacob Keller

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>
---
v2 changes:
- Updated commit description.

 drivers/net/ethernet/marvell/octeontx2/af/npc.h | 4 ++--
 1 file 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;
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* RE: [net PATCH v2] octeontx2-af: Fix marking couple of structure as __packed
  2023-12-19 14:26 [net PATCH v2] octeontx2-af: Fix marking couple of structure as __packed Suman Ghosh
@ 2023-12-19 20:59 ` Keller, Jacob E
  2023-12-26 20:30 ` patchwork-bot+netdevbpf
  1 sibling, 0 replies; 3+ messages in thread
From: Keller, Jacob E @ 2023-12-19 20:59 UTC (permalink / raw)
  To: Suman Ghosh, davem@davemloft.net, edumazet@google.com,
	kuba@kernel.org, pabeni@redhat.com, sgoutham@marvell.com,
	sbhatta@marvell.com, jerinj@marvell.com, gakula@marvell.com,
	hkelam@marvell.com, lcherian@marvell.com, netdev@vger.kernel.org,
	linux-kernel@vger.kernel.org



> -----Original Message-----
> From: Suman Ghosh <sumang@marvell.com>
> Sent: Tuesday, December 19, 2023 6:27 AM
> To: davem@davemloft.net; edumazet@google.com; kuba@kernel.org;
> pabeni@redhat.com; sgoutham@marvell.com; sbhatta@marvell.com;
> jerinj@marvell.com; gakula@marvell.com; hkelam@marvell.com;
> lcherian@marvell.com; netdev@vger.kernel.org; linux-kernel@vger.kernel.org
> Cc: Suman Ghosh <sumang@marvell.com>; Keller, Jacob E
> <jacob.e.keller@intel.com>
> Subject: [net PATCH v2] 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>

Yep, thanks for improving the commit message.

-Jake

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [net PATCH v2] octeontx2-af: Fix marking couple of structure as __packed
  2023-12-19 14:26 [net PATCH v2] octeontx2-af: Fix marking couple of structure as __packed Suman Ghosh
  2023-12-19 20:59 ` Keller, Jacob E
@ 2023-12-26 20:30 ` patchwork-bot+netdevbpf
  1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2023-12-26 20:30 UTC (permalink / raw)
  To: Suman Ghosh
  Cc: davem, edumazet, kuba, pabeni, sgoutham, sbhatta, jerinj, gakula,
	hkelam, lcherian, netdev, linux-kernel, jacob.e.keller

Hello:

This patch was applied to netdev/net.git (main)
by David S. Miller <davem@davemloft.net>:

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")
> Signed-off-by: Suman Ghosh <sumang@marvell.com>
> Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
> 
> [...]

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!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-12-26 20:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-19 14:26 [net PATCH v2] octeontx2-af: Fix marking couple of structure as __packed Suman Ghosh
2023-12-19 20:59 ` Keller, Jacob E
2023-12-26 20:30 ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).