* [PATCH net-next] net: phy: marvell: don't use empty switch default case
@ 2021-04-21 14:08 Marek Behún
2021-04-21 21:50 ` patchwork-bot+netdevbpf
0 siblings, 1 reply; 2+ messages in thread
From: Marek Behún @ 2021-04-21 14:08 UTC (permalink / raw)
To: netdev, David S . Miller, Andrew Lunn
Cc: kuba, Marek Behún, kernel test robot
This causes error reported by kernel test robot.
Signed-off-by: Marek Behún <kabel@kernel.org>
Fixes: 41d26bf4aba0 ("net: phy: marvell: refactor HWMON OOP style")
Reported-by: kernel test robot <lkp@intel.com>
---
drivers/net/phy/marvell.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/net/phy/marvell.c b/drivers/net/phy/marvell.c
index 1cce86b280af..e2b2b20c0dc5 100644
--- a/drivers/net/phy/marvell.c
+++ b/drivers/net/phy/marvell.c
@@ -2499,8 +2499,6 @@ static int marvell_hwmon_write(struct device *dev, enum hwmon_sensor_types type,
if (ops->set_temp_critical)
err = ops->set_temp_critical(phydev, temp);
break;
- default:
- fallthrough;
}
return err;
--
2.26.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH net-next] net: phy: marvell: don't use empty switch default case
2021-04-21 14:08 [PATCH net-next] net: phy: marvell: don't use empty switch default case Marek Behún
@ 2021-04-21 21:50 ` patchwork-bot+netdevbpf
0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2021-04-21 21:50 UTC (permalink / raw)
To: =?utf-8?q?Marek_Beh=C3=BAn_=3Ckabel=40kernel=2Eorg=3E?=
Cc: netdev, davem, andrew, kuba, lkp
Hello:
This patch was applied to netdev/net-next.git (refs/heads/master):
On Wed, 21 Apr 2021 16:08:03 +0200 you wrote:
> This causes error reported by kernel test robot.
>
> Signed-off-by: Marek Behún <kabel@kernel.org>
> Fixes: 41d26bf4aba0 ("net: phy: marvell: refactor HWMON OOP style")
> Reported-by: kernel test robot <lkp@intel.com>
> ---
> drivers/net/phy/marvell.c | 2 --
> 1 file changed, 2 deletions(-)
Here is the summary with links:
- [net-next] net: phy: marvell: don't use empty switch default case
https://git.kernel.org/netdev/net-next/c/5d869070569a
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-04-21 21:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-21 14:08 [PATCH net-next] net: phy: marvell: don't use empty switch default case Marek Behún
2021-04-21 21:50 ` patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).