mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-25 00:52:45 -04:00
scsi: BusLogic: mark expected switch fall-through
In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.
Addresses-Coverity-ID: 1056537 ("Missing break in switch")
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Acked-by: Khalid Aziz <khalid@gonehiking.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
committed by
Martin K. Petersen
parent
09a5a24ff3
commit
1ff2d8c43b
@@ -2641,6 +2641,7 @@ static int blogic_resultcode(struct blogic_adapter *adapter,
|
||||
case BLOGIC_BAD_CMD_PARAM:
|
||||
blogic_warn("BusLogic Driver Protocol Error 0x%02X\n",
|
||||
adapter, adapter_status);
|
||||
/* fall through */
|
||||
case BLOGIC_DATA_UNDERRUN:
|
||||
case BLOGIC_DATA_OVERRUN:
|
||||
case BLOGIC_NOEXPECT_BUSFREE:
|
||||
|
||||
Reference in New Issue
Block a user