diff mbox series

[net,v2] octeontx2-af: Fix marking couple of structure as __packed

Message ID 20231219142633.321507-1-sumang@marvell.com (mailing list archive)
State Accepted
Commit 0ee2384a5a0f3b4eeac8d10bb01a0609d245a4d1
Delegated to: Netdev Maintainers
Headers show
Series [net,v2] octeontx2-af: Fix marking couple of structure as __packed | expand

Checks

Context Check Description
netdev/series_format success Single patches do not need cover letters
netdev/tree_selection success Clearly marked for net
netdev/ynl success SINGLE THREAD; Generated files up to date; no warnings/errors; no diff in generated;
netdev/fixes_present success Fixes tag present in non-next series
netdev/header_inline success No static functions without inline keyword in header files
netdev/build_32bit success Errors and warnings before: 8 this patch: 8
netdev/cc_maintainers success CCed 10 of 11 maintainers
netdev/build_clang success Errors and warnings before: 1140 this patch: 1140
netdev/verify_signedoff success Signed-off-by tag matches author and committer
netdev/deprecated_api success None detected
netdev/check_selftest success No net selftest shell script
netdev/verify_fixes success Fixes tag looks correct
netdev/build_allmodconfig_warn success Errors and warnings before: 1160 this patch: 1160
netdev/checkpatch success total: 0 errors, 0 warnings, 0 checks, 16 lines checked
netdev/build_clang_rust success No Rust files in patch. Skipping build
netdev/kdoc success Errors and warnings before: 0 this patch: 0
netdev/source_inline success Was 0 now: 0

Commit Message

Suman Ghosh Dec. 19, 2023, 2:26 p.m. UTC
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(-)

Comments

Jacob Keller Dec. 19, 2023, 8:59 p.m. UTC | #1
> -----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
patchwork-bot+netdevbpf@kernel.org Dec. 26, 2023, 8:30 p.m. UTC | #2
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!
diff mbox series

Patch

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;