From: Gustavo A. R. Silva Date: Tue, 17 Oct 2017 19:01:45 +0000 (-0500) Subject: liquidio: mark expected switch fall-through in octeon_destroy_resources X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=48acc9e847ef335f7d3b62926825397c6bf4eab2;p=linux.git liquidio: mark expected switch fall-through in octeon_destroy_resources In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Signed-off-by: Gustavo A. R. Silva Acked-by: Felix Manlunas Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/cavium/liquidio/lio_vf_main.c b/drivers/net/ethernet/cavium/liquidio/lio_vf_main.c index e4a112cf4f8e7..4c3b5688529bd 100644 --- a/drivers/net/ethernet/cavium/liquidio/lio_vf_main.c +++ b/drivers/net/ethernet/cavium/liquidio/lio_vf_main.c @@ -747,7 +747,7 @@ static void octeon_destroy_resources(struct octeon_device *oct) if (lio_wait_for_oq_pkts(oct)) dev_err(&oct->pci_dev->dev, "OQ had pending packets\n"); - + /* fall through */ case OCT_DEV_INTR_SET_DONE: /* Disable interrupts */ oct->fn_list.disable_interrupt(oct, OCTEON_ALL_INTR);