mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-13 22:25:03 +00:00
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>
This commit is contained in:
parent
d19911ca05
commit
201e894570
1 changed files with 1 additions and 0 deletions
|
@ -1176,6 +1176,7 @@ void ql_mpi_idc_work(struct work_struct *work)
|
||||||
case MB_CMD_PORT_RESET:
|
case MB_CMD_PORT_RESET:
|
||||||
case MB_CMD_STOP_FW:
|
case MB_CMD_STOP_FW:
|
||||||
ql_link_off(qdev);
|
ql_link_off(qdev);
|
||||||
|
/* Fall through */
|
||||||
case MB_CMD_SET_PORT_CFG:
|
case MB_CMD_SET_PORT_CFG:
|
||||||
/* Signal the resulting link up AEN
|
/* Signal the resulting link up AEN
|
||||||
* that the frame routing and mac addr
|
* that the frame routing and mac addr
|
||||||
|
|
Loading…
Reference in a new issue