OSDN Git Service

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)
commite30d69df78fb2667dc58e906cabd0f70ed0af95d
tree5db2042e54318a1a0a3dceab11e2e626174f8aba
parent3ff0751fa04208459b74cfbe492df79468b8425c
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