Commit df135e32 authored by Finn Thain's avatar Finn Thain Committed by Martin K. Petersen

scsi: NCR5380: Avoid compiler warning when -Wimplicit-fallthrough is enabled

Adjust comments accordingly.

Cc: Gustavo A. R. Silva <gustavo@embeddedor.com>
Cc: Michael Schmitz <schmitzmic@gmail.com>
Signed-off-by: default avatarFinn Thain <fthain@telegraphics.com.au>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 2e96fe92
...@@ -1933,13 +1933,13 @@ static void NCR5380_information_transfer(struct Scsi_Host *instance) ...@@ -1933,13 +1933,13 @@ static void NCR5380_information_transfer(struct Scsi_Host *instance)
if (!hostdata->connected) if (!hostdata->connected)
return; return;
/* Fall through to reject message */ /* Reject message */
/* Fall through */
default:
/* /*
* If we get something weird that we aren't expecting, * If we get something weird that we aren't expecting,
* reject it. * log it.
*/ */
default:
if (tmp == EXTENDED_MESSAGE) if (tmp == EXTENDED_MESSAGE)
scmd_printk(KERN_INFO, cmd, scmd_printk(KERN_INFO, cmd,
"rejecting unknown extended message code %02x, length %d\n", "rejecting unknown extended message code %02x, length %d\n",
......
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