OSDN Git Service

rtc: m41t80: mark expected switch fall-through
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Thu, 4 Oct 2018 13:07:01 +0000 (15:07 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 16 Oct 2018 10:56:58 +0000 (12:56 +0200)
commitc3e04915b8674a748916db6f7adf92da03b68bef
treeda7331349aa4882c91b57239afa7cf6ebb19bfc6
parentfe0b5cedc2b73c9b005e1812c0ae5b922a96243a
rtc: m41t80: 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.

Addresses-Coverity-ID: 1373875 ("Missing break in switch")
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-m41t80.c