From: Borislav Petkov Date: Sun, 29 Sep 2019 11:46:49 +0000 (+0200) Subject: watchdog: sbc7240_wdt: Fix yet another -Wimplicit-fallthrough warning X-Git-Tag: v5.10.7~3757^2~18 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b6276d4e4bc3d74b37a918c231b19622f9f194a7;p=platform%2Fkernel%2Flinux-rpi.git watchdog: sbc7240_wdt: Fix yet another -Wimplicit-fallthrough warning ... by moving the fall through comment outside of the code block so that gcc sees it. No functional changes. Signed-off-by: Borislav Petkov Cc: Wim Van Sebroeck Cc: Guenter Roeck Cc: linux-watchdog@vger.kernel.org Reviewed-by: Guenter Roeck Link: https://lore.kernel.org/r/20190929114649.22740-1-bp@alien8.de Signed-off-by: Guenter Roeck Signed-off-by: Wim Van Sebroeck --- diff --git a/drivers/watchdog/sbc7240_wdt.c b/drivers/watchdog/sbc7240_wdt.c index 12cdee7d5069..90d67e6d8e8b 100644 --- a/drivers/watchdog/sbc7240_wdt.c +++ b/drivers/watchdog/sbc7240_wdt.c @@ -194,9 +194,8 @@ static long fop_ioctl(struct file *file, unsigned int cmd, unsigned long arg) if (wdt_set_timeout(new_timeout)) return -EINVAL; - - /* Fall through */ } + /* Fall through */ case WDIOC_GETTIMEOUT: return put_user(timeout, (int __user *)arg); default: