summaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/bcm63xx_wdt.c
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2021-10-27 14:31:35 +0200
committerWim Van Sebroeck <wim@linux-watchdog.org>2021-10-27 22:21:34 +0200
commitee1a0696934a8b77a6a2098f92832c46d34ec5da (patch)
tree61f4807e5efdb3b8f6ddfcdd95caa3bbd1d7af2b /drivers/watchdog/bcm63xx_wdt.c
parent1ae3e78c08209ac657c59f6f7ea21bbbd7f6a1d4 (diff)
downloadlinux-ee1a0696934a8b77a6a2098f92832c46d34ec5da.tar.bz2
watchdog: bcm63xx_wdt: fix fallthrough warning
This fixes: drivers/watchdog/bcm63xx_wdt.c: In function 'bcm63xx_wdt_ioctl': drivers/watchdog/bcm63xx_wdt.c:208:17: warning: this statement may fall through [-Wimplicit-fallthrough=] Signed-off-by: Rafał Miłecki <rafal@milecki.pl> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Link: https://lore.kernel.org/r/20211027123135.27458-1-zajec5@gmail.com Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'drivers/watchdog/bcm63xx_wdt.c')
-rw-r--r--drivers/watchdog/bcm63xx_wdt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/watchdog/bcm63xx_wdt.c b/drivers/watchdog/bcm63xx_wdt.c
index 7cdb25363ea0..56cc262571a5 100644
--- a/drivers/watchdog/bcm63xx_wdt.c
+++ b/drivers/watchdog/bcm63xx_wdt.c
@@ -207,6 +207,8 @@ static long bcm63xx_wdt_ioctl(struct file *file, unsigned int cmd,
bcm63xx_wdt_pet();
+ fallthrough;
+
case WDIOC_GETTIMEOUT:
return put_user(wdt_time, p);