Skip to content

Commit ee1a069

Browse files
Rafał MiłeckiWim Van Sebroeck
authored andcommitted
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 <[email protected]> Reviewed-by: Florian Fainelli <[email protected]> Reviewed-by: Guenter Roeck <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Guenter Roeck <[email protected]> Signed-off-by: Wim Van Sebroeck <[email protected]>
1 parent 1ae3e78 commit ee1a069

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/watchdog/bcm63xx_wdt.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,8 @@ static long bcm63xx_wdt_ioctl(struct file *file, unsigned int cmd,
207207

208208
bcm63xx_wdt_pet();
209209

210+
fallthrough;
211+
210212
case WDIOC_GETTIMEOUT:
211213
return put_user(wdt_time, p);
212214

0 commit comments

Comments
 (0)