staging: qlge: Fix fall-through warnings for Clang

In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning
by explicitly adding a break statement instead of letting the code fall
through to the next case.

Link: https://github.com/KSPP/linux/issues/115
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Link: https://lore.kernel.org/r/673bd9f27bcc2df8c9d12be94f54001d8066d4ab.1605896060.git.gustavoars@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Gustavo A. R. Silva 2020-11-20 12:39:51 -06:00 committed by Greg Kroah-Hartman
parent 6a8ce97113
commit 8002998e1f

View File

@ -1382,6 +1382,7 @@ static void ql_categorize_rx_err(struct ql_adapter *qdev, u8 rx_err,
break; break;
case IB_MAC_IOCB_RSP_ERR_CRC: case IB_MAC_IOCB_RSP_ERR_CRC:
stats->rx_crc_err++; stats->rx_crc_err++;
break;
default: default:
break; break;
} }