[PATCH] block: 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: drivers/block/drbd/drbd_int.h:1774:6: warning: this statement may fall through [-Wimplicit-fallthrough=] drivers/block/drbd/drbd_int.h:1774:6: war

Re: [PATCH] block: Mark expected switch fall-throughs

2019-01-23 Thread Chaitanya Kulkarni
...@vger.kernel.org; linux-kernel@vger.kernel.org; Gustavo A. R. Silva Subject: [PATCH] block: Mark expected switch fall-throughs   In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. This patch fixes the following warnings: drivers/block/drbd

Re: [Drbd-dev] [PATCH] block: Mark expected switch fall-throughs

2019-01-29 Thread Roland Kammerer
On Wed, Jan 23, 2019 at 12:45:01AM -0600, Gustavo A. R. Silva wrote: > In preparation to enabling -Wimplicit-fallthrough, mark switch cases > where we are expecting to fall through. > > Warning level 3 was used: -Wimplicit-fallthrough=3 > > This patch is part of the ongoing efforts to enabling >

Re: [Drbd-dev] [PATCH] block: Mark expected switch fall-throughs

2019-02-26 Thread Gustavo A. R. Silva
On 1/29/19 3:42 AM, Roland Kammerer wrote: > On Wed, Jan 23, 2019 at 12:45:01AM -0600, Gustavo A. R. Silva wrote: >> In preparation to enabling -Wimplicit-fallthrough, mark switch cases >> where we are expecting to fall through. >> >> Warning level 3 was used: -Wimplicit-fallthrough=3 >> >> This