RE: [PATCH] i40e: mark expected switch fall-through
From: Kirsher, Jeffrey T
Date: Thu Aug 30 2018 - 17:09:58 EST
> -----Original Message-----
> From: Gustavo A. R. Silva [mailto:gustavo@xxxxxxxxxxxxxx]
> Sent: Thursday, August 30, 2018 11:50
> To: Kirsher, Jeffrey T <jeffrey.t.kirsher@xxxxxxxxx>; David S. Miller
> <davem@xxxxxxxxxxxxx>
> Cc: intel-wired-lan@xxxxxxxxxxxxxxxx; netdev@xxxxxxxxxxxxxxx; linux-
> kernel@xxxxxxxxxxxxxxx; Gustavo A. R. Silva <gustavo@xxxxxxxxxxxxxx>
> Subject: [PATCH] i40e: mark expected switch fall-through
>
> In preparation to enabling -Wimplicit-fallthrough, mark switch cases where
> we are expecting to fall through.
>
> Addresses-Coverity-ID: 1473099 ("Missing break in switch")
> Signed-off-by: Gustavo A. R. Silva <gustavo@xxxxxxxxxxxxxx>
> ---
> drivers/net/ethernet/intel/i40e/i40e_xsk.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
I have picked this up Dave.