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

scsi: aacraid: Mark expected switch fall-through

In preparation to enabling -Wimplicit-fallthrough, mark switch cases where
we are expecting to fall through.

Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Reviewed-by: Dave Carroll <david.carroll@microsemi.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>

authored by

Gustavo A. R. Silva and committed by
Martin K. Petersen
c121c57a 8d4d5b34

+1
+1
drivers/scsi/aacraid/linit.c
··· 759 759 !(aac->raw_io_64) || 760 760 ((cmd->cmnd[1] & 0x1f) != SAI_READ_CAPACITY_16)) 761 761 break; 762 + /* fall through */ 762 763 case INQUIRY: 763 764 case READ_CAPACITY: 764 765 /*