diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-08-07 18:29:12 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-08-07 17:54:20 -0700 |
commit | 201e894570b182ab6e49097ed3b3fcc1a7e3cf3c (patch) | |
tree | e4a45c524506b142d92f95484716c9b86da24583 | |
parent | d19911ca0521623bcc306738f7a1298f9f56d3c9 (diff) | |
download | linux-stable-201e894570b182ab6e49097ed3b3fcc1a7e3cf3c.tar.gz linux-stable-201e894570b182ab6e49097ed3b3fcc1a7e3cf3c.tar.bz2 linux-stable-201e894570b182ab6e49097ed3b3fcc1a7e3cf3c.zip |
qlge: mark expected switch fall-through
In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.
Addresses-Coverity-ID: 114811 ("Missing break in switch")
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/ethernet/qlogic/qlge/qlge_mpi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/qlogic/qlge/qlge_mpi.c b/drivers/net/ethernet/qlogic/qlge/qlge_mpi.c index 4be65d6761b3..957c72985a06 100644 --- a/drivers/net/ethernet/qlogic/qlge/qlge_mpi.c +++ b/drivers/net/ethernet/qlogic/qlge/qlge_mpi.c @@ -1176,6 +1176,7 @@ void ql_mpi_idc_work(struct work_struct *work) case MB_CMD_PORT_RESET: case MB_CMD_STOP_FW: ql_link_off(qdev); + /* Fall through */ case MB_CMD_SET_PORT_CFG: /* Signal the resulting link up AEN * that the frame routing and mac addr |