[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<176763541204.1244814.16112254991041079076.git-patchwork-notify@kernel.org>
Date: Mon, 05 Jan 2026 17:50:12 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Gal Pressman <gal@...dia.com>
Cc: mkubecek@...e.cz, c-vankar@...com, netdev@...r.kernel.org,
cjubran@...dia.com
Subject: Re: [PATCH ethtool] ethtool: Fix declaration after label compilation
error
Hello:
This patch was applied to ethtool/ethtool.git (master)
by Michal Kubecek <mkubecek@...e.cz>:
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
Powered by blists - more mailing lists