Messages in this thread | | | Subject | Re: [PATCH net-next] Bluetooth: Mark expected switch fall-throughs | From | Marcel Holtmann <> | Date | Wed, 23 Jan 2019 18:46:25 +0100 |
| |
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/l2cap_core.c:4223:6: warning: this statement may fall through [-Wimplicit-fallthrough=] > > Warning level 3 was used: -Wimplicit-fallthrough=3 > > This patch is part of the ongoing efforts to enabling > -Wimplicit-fallthrough. > > Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com> > --- > net/bluetooth/l2cap_core.c | 1 + > net/bluetooth/rfcomm/core.c | 1 + > 2 files changed, 2 insertions(+)
patch has been applied to bluetooth-next tree.
Regards
Marcel
| |