diff options
| author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2019-07-29 15:06:02 -0500 |
|---|---|---|
| committer | Wim Van Sebroeck <wim@linux-watchdog.org> | 2019-08-12 13:05:37 +0200 |
| commit | ca58397c53ddba9544748dc0cbaef4ff34282466 (patch) | |
| tree | 226c20ccf848660aca69a9f92ffd0c3b958a94e4 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | watchdog: Mark expected switch fall-throughs (diff) | |
| download | linux-ca58397c53ddba9544748dc0cbaef4ff34282466.tar.gz linux-ca58397c53ddba9544748dc0cbaef4ff34282466.zip | |
watchdog: scx200_wdt: Mark expected switch fall-through
Mark switch cases where we are expecting to fall through.
This patch fixes the following warning (Building: i386):
drivers/watchdog/scx200_wdt.c: In function ‘scx200_wdt_ioctl’:
drivers/watchdog/scx200_wdt.c:188:3: warning: this statement may fall through [-Wimplicit-fallthrough=]
scx200_wdt_ping();
^~~~~~~~~~~~~~~~~
drivers/watchdog/scx200_wdt.c:189:2: note: here
case WDIOC_GETTIMEOUT:
^~~~
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20190729200602.GA6854@embeddedor
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
