Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>

authored by

Finn Thain and committed by
Martin K. Petersen
df135e32 2e96fe92

+4 -4
+4 -4
drivers/scsi/NCR5380.c
··· 1933 1933 if (!hostdata->connected) 1934 1934 return; 1935 1935 1936 - /* Fall through to reject message */ 1937 - 1936 + /* Reject message */ 1937 + /* Fall through */ 1938 + default: 1938 1939 /* 1939 1940 * If we get something weird that we aren't expecting, 1940 - * reject it. 1941 + * log it. 1941 1942 */ 1942 - default: 1943 1943 if (tmp == EXTENDED_MESSAGE) 1944 1944 scmd_printk(KERN_INFO, cmd, 1945 1945 "rejecting unknown extended message code %02x, length %d\n",