Skip to content

Commit 55a1b87

Browse files
GustavoARSilvaWim Van Sebroeck
authored andcommitted
watchdog: scx200_wdt: Use fallthrough pseudo-keyword
Replace the existing /* fall through */ comments and its variants with the new pseudo-keyword macro fallthrough[1]. [1] https://www.kernel.org/doc/html/v5.7-rc7/process/deprecated.html?highlight=fallthrough#implicit-switch-case-fall-through Signed-off-by: Gustavo A. R. Silva <[email protected]> Reviewed-by: Guenter Roeck <[email protected]> Link: https://lore.kernel.org/r/20200717164059.GA26947@embeddedor Signed-off-by: Guenter Roeck <[email protected]> Signed-off-by: Wim Van Sebroeck <[email protected]>
1 parent bd490f8 commit 55a1b87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/watchdog/scx200_wdt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ static long scx200_wdt_ioctl(struct file *file, unsigned int cmd,
186186
margin = new_margin;
187187
scx200_wdt_update_margin();
188188
scx200_wdt_ping();
189-
/* Fall through */
189+
fallthrough;
190190
case WDIOC_GETTIMEOUT:
191191
if (put_user(margin, p))
192192
return -EFAULT;

0 commit comments

Comments
 (0)