git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
watchdog: Use fallthrough pseudo-keyword
[sfrench/cifs-2.6.git]
/
drivers
/
watchdog
/
nv_tco.c
diff --git
a/drivers/watchdog/nv_tco.c
b/drivers/watchdog/nv_tco.c
index d7a560e348d5fe735da0185a4ded4739837b9ce3..d15ad8583a5921c2ac1e871be88f414c4413fbe0 100644
(file)
--- a/
drivers/watchdog/nv_tco.c
+++ b/
drivers/watchdog/nv_tco.c
@@
-250,7
+250,7
@@
static long nv_tco_ioctl(struct file *file, unsigned int cmd,
if (tco_timer_set_heartbeat(new_heartbeat))
return -EINVAL;
tco_timer_keepalive();
- /* Fall through */
+ fallthrough;
case WDIOC_GETTIMEOUT:
return put_user(heartbeat, p);
default: