2017-11-06 00:44:52

by Gustavo A. R. Silva

[permalink] [raw]
Subject: Re: watchdog: wdt_pci: mark expected switch fall-through


Quoting Guenter Roeck <[email protected]>:

> On Fri, Nov 03, 2017 at 06:07:23PM -0500, Gustavo A. R. Silva wrote:
>> 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 <[email protected]>
>
> Reviewed-by: Guenter Roeck <[email protected]>
>

Thanks!
--
Gustavo A. R. Silva






From 1583239622088677705@xxx Sun Nov 05 15:16:04 +0000 2017
X-GM-THRID: 1583088223018344369
X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread