diff options
| author | Gustavo A. R. Silva <[email protected]> | 2019-07-29 20:46:50 -0500 |
|---|---|---|
| committer | Wim Van Sebroeck <[email protected]> | 2019-08-12 13:05:38 +0200 |
| commit | 4b4b8b03458ef33dc2545c038d3134ba668038a4 (patch) | |
| tree | 79c374e58b4f5bdb2fde010ef7239a7b5510ccd4 /tools/perf/scripts/python | |
| parent | 2c017640826a16eab385b756431ce560e44a7054 (diff) | |
watchdog: riowd: Mark expected switch fall-through
Mark switch cases where we are expecting to fall through.
This patch fixes the following warnings (Building: sparc64):
drivers/watchdog/riowd.c: In function ‘riowd_ioctl’:
drivers/watchdog/riowd.c:136:3: warning: this statement may fall through [-Wimplicit-fallthrough=]
riowd_writereg(p, riowd_timeout, WDTO_INDEX);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/watchdog/riowd.c:139:2: note: here
case WDIOC_GETTIMEOUT:
^~~~
Signed-off-by: Gustavo A. R. Silva <[email protected]>
Reviewed-by: Kees Cook <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
Link: https://lore.kernel.org/r/20190730014650.GA31309@embeddedor
Signed-off-by: Guenter Roeck <[email protected]>
Signed-off-by: Wim Van Sebroeck <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions