Re: [PATCH net-next] Bluetooth: Mark expected switch fall-throughs

2019-01-23 Thread Gustavo A. R. Silva
On 1/23/19 11:46 AM, Marcel Holtmann wrote: > Hi Gustavo, > >> In preparation to enabling -Wimplicit-fallthrough, mark switch cases >> where we are expecting to fall through. >> >> This patch fixes the following warnings: >> >> net/bluetooth/rfcomm/core.c:479:6: warning: this statement may fall

Re: [PATCH net-next] Bluetooth: Mark expected switch fall-throughs

2019-01-23 Thread Marcel Holtmann
Hi Gustavo, > In preparation to enabling -Wimplicit-fallthrough, mark switch cases > where we are expecting to fall through. > > This patch fixes the following warnings: > > net/bluetooth/rfcomm/core.c:479:6: warning: this statement may fall through > [-Wimplicit-fallthrough=] > net/bluetooth/l

[PATCH net-next] Bluetooth: Mark expected switch fall-throughs

2019-01-22 Thread Gustavo A. R. Silva
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. This patch fixes the following warnings: net/bluetooth/rfcomm/core.c:479:6: warning: this statement may fall through [-Wimplicit-fallthrough=] net/bluetooth/l2cap_core.c:4223:6: warning: