Re: [PATCH 1/2] Bluetooth: Annotate implicit fall through in l2cap_config_rsp

2019-01-25 Thread Mathieu Malaterre
On Fri, Jan 25, 2019 at 8:56 AM Marcel Holtmann wrote: > > Hi Mathieu, > > > There is a plan to build the kernel with -Wimplicit-fallthrough and > > this place in the code produced a warning (W=1). > > > > This commit removes the following warning: > > > > net/bluetooth/l2cap_core.c:4223:6: warni

Re: [PATCH 1/2] Bluetooth: Annotate implicit fall through in l2cap_config_rsp

2019-01-24 Thread Marcel Holtmann
Hi Mathieu, > There is a plan to build the kernel with -Wimplicit-fallthrough and > this place in the code produced a warning (W=1). > > This commit removes the following warning: > > net/bluetooth/l2cap_core.c:4223:6: warning: this statement may fall through > [-Wimplicit-fallthrough=] > > C

[PATCH 1/2] Bluetooth: Annotate implicit fall through in l2cap_config_rsp

2019-01-24 Thread Mathieu Malaterre
There is a plan to build the kernel with -Wimplicit-fallthrough and this place in the code produced a warning (W=1). This commit removes the following warning: net/bluetooth/l2cap_core.c:4223:6: warning: this statement may fall through [-Wimplicit-fallthrough=] Cc: Gustavo Padovan Signed-off