Re: [PATCH net-next] net/mlx4: Mark expected switch fall-through

2019-01-23 Thread Gustavo A. R. Silva
On 1/23/19 11:08 AM, David Miller wrote: > From: "Gustavo A. R. Silva" > Date: Wed, 23 Jan 2019 02:05:11 -0600 > >> In preparation to enabling -Wimplicit-fallthrough, mark switch cases >> where we are expecting to fall through. >> >> This patch fixes the following warning: >> >> drivers/net/et

Re: [PATCH net-next] net/mlx4: Mark expected switch fall-through

2019-01-23 Thread David Miller
From: "Gustavo A. R. Silva" Date: Wed, 23 Jan 2019 02:05:11 -0600 > In preparation to enabling -Wimplicit-fallthrough, mark switch cases > where we are expecting to fall through. > > This patch fixes the following warning: > > drivers/net/ethernet/mellanox/mlx4/eq.c: In function ‘mlx4_eq_int’:

Re: [PATCH net-next] net/mlx4: Mark expected switch fall-through

2019-01-23 Thread Tariq Toukan
On 1/23/2019 10:05 AM, Gustavo A. R. Silva wrote: > In preparation to enabling -Wimplicit-fallthrough, mark switch cases > where we are expecting to fall through. > > This patch fixes the following warning: > > drivers/net/ethernet/mellanox/mlx4/eq.c: In function ‘mlx4_eq_int’: > drivers/net/et

[PATCH net-next] net/mlx4: Mark expected switch fall-through

2019-01-23 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 warning: drivers/net/ethernet/mellanox/mlx4/eq.c: In function ‘mlx4_eq_int’: drivers/net/ethernet/mellanox/mlx4/mlx4.h:219:5: warning: this statement may fa