Commit 1ff2d8c4 authored by Gustavo A. R. Silva's avatar Gustavo A. R. Silva Committed by Martin K. Petersen

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: default avatarGustavo A. R. Silva <gustavo@embeddedor.com>
Acked-by: default avatarKhalid Aziz <khalid@gonehiking.org>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 09a5a24f
...@@ -2641,6 +2641,7 @@ static int blogic_resultcode(struct blogic_adapter *adapter, ...@@ -2641,6 +2641,7 @@ static int blogic_resultcode(struct blogic_adapter *adapter,
case BLOGIC_BAD_CMD_PARAM: case BLOGIC_BAD_CMD_PARAM:
blogic_warn("BusLogic Driver Protocol Error 0x%02X\n", blogic_warn("BusLogic Driver Protocol Error 0x%02X\n",
adapter, adapter_status); adapter, adapter_status);
/* fall through */
case BLOGIC_DATA_UNDERRUN: case BLOGIC_DATA_UNDERRUN:
case BLOGIC_DATA_OVERRUN: case BLOGIC_DATA_OVERRUN:
case BLOGIC_NOEXPECT_BUSFREE: case BLOGIC_NOEXPECT_BUSFREE:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment