]> git.baikalelectronics.ru Git - kernel.git/commit
watchdog: wafer5823wdt: Mark expected switch fall-through
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Tue, 27 Mar 2018 19:33:49 +0000 (14:33 -0500)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Mon, 16 Apr 2018 08:22:39 +0000 (10:22 +0200)
commit032f6dcec6bf5caa9044c04322db162b94254e14
tree5db2042e54318a1a0a3dceab11e2e626174f8aba
parent959b3b653abb714606328572a60780accabcf876
watchdog: wafer5823wdt: 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 <gustavo@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>
drivers/watchdog/wafer5823wdt.c