diff options
author | Gustavo A. R. Silva <garsilva@embeddedor.com> | 2017-11-20 20:06:45 +0300 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2017-12-28 22:45:51 +0300 |
commit | 82c8b5c9774e64f8e1b9abec876fcfa8d8e3d791 (patch) | |
tree | 17407c9f7115a0bd26dc75d189dab6a53828f843 /drivers/watchdog/eurotechwdt.c | |
parent | 49620a283eed91cd2fcd87af4f5381e8f03285aa (diff) | |
download | linux-82c8b5c9774e64f8e1b9abec876fcfa8d8e3d791.tar.xz |
watchdog: eurotechwdt: mark expected switch fall-through
In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.
Notice that in this particular case I replaced "Fall" with a proper
"fall through" comment, which is what GCC is expecting to find.
Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/watchdog/eurotechwdt.c')
-rw-r--r-- | drivers/watchdog/eurotechwdt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/watchdog/eurotechwdt.c b/drivers/watchdog/eurotechwdt.c index 38e96712264f..47f77a6fdfd6 100644 --- a/drivers/watchdog/eurotechwdt.c +++ b/drivers/watchdog/eurotechwdt.c @@ -290,7 +290,7 @@ static long eurwdt_ioctl(struct file *file, eurwdt_timeout = time; eurwdt_set_timeout(time); spin_unlock(&eurwdt_lock); - /* Fall */ + /* fall through */ case WDIOC_GETTIMEOUT: return put_user(eurwdt_timeout, p); |