Message ID | 20210421140803.17780-1-kabel@kernel.org (mailing list archive) |
---|---|
State | Accepted |
Commit | 5d869070569a23aa909c6e7e9d010fc438a492ef |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | [net-next] net: phy: marvell: don't use empty switch default case | expand |
Context | Check | Description |
---|---|---|
netdev/cover_letter | success | Link |
netdev/fixes_present | success | Link |
netdev/patch_count | success | Link |
netdev/tree_selection | success | Clearly marked for net-next |
netdev/subject_prefix | success | Link |
netdev/cc_maintainers | warning | 2 maintainers not CCed: hkallweit1@gmail.com linux@armlinux.org.uk |
netdev/source_inline | success | Was 0 now: 0 |
netdev/verify_signedoff | success | Link |
netdev/module_param | success | Was 0 now: 0 |
netdev/build_32bit | success | Errors and warnings before: 0 this patch: 0 |
netdev/kdoc | success | Errors and warnings before: 0 this patch: 0 |
netdev/verify_fixes | success | Link |
netdev/checkpatch | success | total: 0 errors, 0 warnings, 0 checks, 8 lines checked |
netdev/build_allmodconfig_warn | success | Errors and warnings before: 0 this patch: 0 |
netdev/header_inline | success | Link |
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
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;
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(-)