mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-16 19:04:41 +08:00
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 <garsilva@embeddedor.com> Acked-by: Felix Manlunas <felix.manlunas@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
b14bec8904
commit
48acc9e847
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user