Re: watchdog: alim1535_wdt: mark expected switch fall-through

2017-11-03 Thread Guenter Roeck
On Thu, Nov 02, 2017 at 02:25:09PM -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

Re: watchdog: alim1535_wdt: mark expected switch fall-through

2017-11-03 Thread Guenter Roeck
On Thu, Nov 02, 2017 at 02:25:09PM -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

[PATCH] watchdog: alim1535_wdt: mark expected switch fall-through

2017-11-02 Thread Gustavo A. R. Silva
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

[PATCH] watchdog: alim1535_wdt: mark expected switch fall-through

2017-11-02 Thread Gustavo A. R. Silva
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 ---