Re: [PATCH v2] net: smc_close: mark expected switch fall-through

2017-10-24 Thread David Miller
From: "Gustavo A. R. Silva" Date: Sat, 21 Oct 2017 20:35:30 -0500 > In preparation to enabling -Wimplicit-fallthrough, mark switch cases > where we are expecting to fall through. > > Notice that in this particular case I placed the "fall through" comment > on its own line, which is what GCC is e

[PATCH v2] net: smc_close: mark expected switch fall-through

2017-10-21 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 placed the "fall through" comment on its own line, which is what GCC is expecting to find. Signed-off-by: Gustavo A. R. Silva --- Changes in v2: Mov