diff options
author | Borislav Petkov <[email protected]> | 2019-09-29 13:46:49 +0200 |
---|---|---|
committer | Wim Van Sebroeck <[email protected]> | 2019-11-18 19:53:40 +0100 |
commit | b6276d4e4bc3d74b37a918c231b19622f9f194a7 (patch) | |
tree | c46febf2e611991bae1e61106a34618ca3dc003a | |
parent | ff0aaacb6f26e72f6eb9220eb3b479ffb46b592d (diff) |
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 <[email protected]>
Cc: Wim Van Sebroeck <[email protected]>
Cc: Guenter Roeck <[email protected]>
Cc: [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]>
-rw-r--r-- | drivers/watchdog/sbc7240_wdt.c | 3 |
1 files changed, 1 insertions, 2 deletions
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: |