Re: [PATCH ethtool] ethtool: Fix declaration after label compilation error
From: patchwork-bot+netdevbpf@kernel.org
Date: 2026-01-05 17:53:33
From: patchwork-bot+netdevbpf@kernel.org
Date: 2026-01-05 17:53:33
Hello: This patch was applied to ethtool/ethtool.git (master) by Michal Kubecek [off-list ref]: On Wed, 31 Dec 2025 13:25:33 +0200 you wrote:
Wrap case blocks in braces to allow variable declarations after case
labels, fixing C89 compilation errors:
am65-cpsw-nuss.c: In function 'cpsw_dump_ale':
am65-cpsw-nuss.c:423:4: error: a label can only be part of a statement and a declaration is not a statement
u32 oui_entry = cpsw_ale_get_oui_addr(ale_pos);
^~~
am65-cpsw-nuss.c:432:4: error: a label can only be part of a statement and a declaration is not a statement
u32 vlan_entry_type = cpsw_ale_get_vlan_entry_type(ale_pos);
^~~
[...]
Here is the summary with links:
- [ethtool] ethtool: Fix declaration after label compilation error
https://git.kernel.org/pub/scm/network/ethtool/ethtool.git/commit/?id=8e5c615a319f
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html