Skip to contentSkip to conversation

net: enetc: remove stray semicolon

PATCH Applied Wei Fang 4 participants 5 messages Mar 13 – Mar 14

Subsystems (4)
lore
Share & tools
lore

Wei Fang

author maintainer
#0 lore raw

PATCH 1/1 net: enetc: remove stray semicolon

Remove stray semicolon from ntmp_table_name().

---
 drivers/net/ethernet/freescale/enetc/ntmp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/freescale/enetc/ntmp.c +1 -1
index 0c1d343253bf..703752995e93 100644
@@ -227,7 +227,7 @@ static const char *ntmp_table_name(int tbl_id)
 		return "RSS Table";
 	default:
 		return "Unknown Table";
-	};
+	}
 }
 
 static int ntmp_delete_entry_by_id(struct ntmp_user *user, int tbl_id,
Signature · 1 line
2.34.1
maintainer
#2 lore raw
Quoted 9 lines · Joe Damato
Quoted 7 lines · Wei Fang

Remove stray semicolon from ntmp_table_name().

---
 drivers/net/ethernet/freescale/enetc/ntmp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 4 lines

Hm, I'm not sure, but I suspect this might be rejected due to the note about cleanup in the docs, which generally seems to discourage this sort of thing:

https://www.kernel.org/doc/html/next/process/maintainer-netdev.html#clean-up-patches

"simple clean-ups, which are not in the context of other work"

The ENETC NTMP code is under active development, and Wei is developing it. The semicolon was added in May last year and was found as part of other review touching that area.

author maintainer
#3 lore raw
Quoted 4 lines
Quoted 4 lines

Hm, I'm not sure, but I suspect this might be rejected due to the note about cleanup in the docs, which generally seems to discourage this sort of thing:

Quoted 8 lines

https://www.kernel.org/doc/html/next/process/maintainer-netdev.html#clean
-up-patches

"simple clean-ups, which are not in the context of other work"

The ENETC NTMP code is under active development, and Wei is developing it. The semicolon was added in May last year and was found as part of other review touching that area.

Yes, this cleanup is for the upcoming NETC switch patches, which has some changes to ntmp_table_name().

#4 lore raw
In reply to Wei Fang
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Hello:

This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Quoted 6 lines · On Fri, 13 Mar 2026 19:24:54 +0800 you wrote:

Remove stray semicolon from ntmp_table_name().

---
 drivers/net/ethernet/freescale/enetc/ntmp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Here is the summary with links:
- [net-next] net: enetc: remove stray semicolon

    https://git.kernel.org/netdev/net-next/c/f4ce4922df8d

You are awesome, thank you!

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