diff options
author | Gustavo A. R. Silva <[email protected]> | 2019-07-29 10:08:05 -0500 |
---|---|---|
committer | Gustavo A. R. Silva <[email protected]> | 2019-08-09 19:47:24 -0500 |
commit | d259f94f7265065b5c2b2bd5bbe4fa9b76504440 (patch) | |
tree | dc22e6a47c0c11e31ac7d53ba4b645a7041acafb /tools/perf/util/c++/clang.cpp | |
parent | e9d81fc5b2014eb17d45ba4940bfb603d57bbcb3 (diff) |
watchdog: Mark expected switch fall-throughs
Mark switch cases where we are expecting to fall through.
This patch fixes the following warnings:
drivers/watchdog/ar7_wdt.c: warning: this statement may fall
through [-Wimplicit-fallthrough=]: => 237:3
drivers/watchdog/pcwd.c: warning: this statement may fall
through [-Wimplicit-fallthrough=]: => 653:3
drivers/watchdog/sb_wdog.c: warning: this statement may fall
through [-Wimplicit-fallthrough=]: => 204:3
drivers/watchdog/wdt.c: warning: this statement may fall
through [-Wimplicit-fallthrough=]: => 391:3
Reported-by: Geert Uytterhoeven <[email protected]>
Reviewed-by: Kees Cook <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
Signed-off-by: Gustavo A. R. Silva <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions