Skip to content

Commit b6276d4

Browse files
suryasaimadhuWim Van Sebroeck
authored andcommitted
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]>
1 parent ff0aaac commit b6276d4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

drivers/watchdog/sbc7240_wdt.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,9 +194,8 @@ static long fop_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
194194

195195
if (wdt_set_timeout(new_timeout))
196196
return -EINVAL;
197-
198-
/* Fall through */
199197
}
198+
/* Fall through */
200199
case WDIOC_GETTIMEOUT:
201200
return put_user(timeout, (int __user *)arg);
202201
default:

0 commit comments

Comments
 (0)