mirror of
https://github.com/torvalds/linux.git
synced 2026-08-12 02:15:02 +02:00
bnxt_en: 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 just 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>
This commit is contained in:
parent
9b8b84c168
commit
cc9fd18032
|
|
@ -2183,6 +2183,7 @@ static int bnxt_hwrm_handler(struct bnxt *bp, struct tx_cmp *txcmp)
|
|||
case CMPL_BASE_TYPE_HWRM_ASYNC_EVENT:
|
||||
bnxt_async_event_process(bp,
|
||||
(struct hwrm_async_event_cmpl *)txcmp);
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user