[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <162155101147.27401.5665625357028273375.git-patchwork-notify@kernel.org>
Date: Thu, 20 May 2021 22:50:11 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Michal Suchanek <msuchanek@...e.de>
Cc: netdev@...r.kernel.org, lijunp213@...il.com, drt@...ux.ibm.com,
sukadev@...ux.ibm.com, tlfalcon@...ux.ibm.com, mpe@...erman.id.au,
benh@...nel.crashing.org, paulus@...ba.org, davem@...emloft.net,
kuba@...nel.org, linuxppc-dev@...ts.ozlabs.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 net-next resend] ibmvnic: remove default label from
to_string switch
Hello:
This patch was applied to netdev/net-next.git (refs/heads/master):
On Thu, 20 May 2021 08:50:34 +0200 you wrote:
> This way the compiler warns when a new value is added to the enum but
> not to the string translation like:
>
> drivers/net/ethernet/ibm/ibmvnic.c: In function 'adapter_state_to_string':
> drivers/net/ethernet/ibm/ibmvnic.c:832:2: warning: enumeration value 'VNIC_FOOBAR' not handled in switch [-Wswitch]
> switch (state) {
> ^~~~~~
> drivers/net/ethernet/ibm/ibmvnic.c: In function 'reset_reason_to_string':
> drivers/net/ethernet/ibm/ibmvnic.c:1935:2: warning: enumeration value 'VNIC_RESET_FOOBAR' not handled in switch [-Wswitch]
> switch (reason) {
> ^~~~~~
>
> [...]
Here is the summary with links:
- [v2,net-next,resend] ibmvnic: remove default label from to_string switch
https://git.kernel.org/netdev/net-next/c/07b5dc1d515a
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