OSDN Git Service

scsi: isci: remote_device: Mark expected switch fall-throughs
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Wed, 28 Nov 2018 04:30:01 +0000 (22:30 -0600)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 21 Dec 2018 01:03:56 +0000 (20:03 -0500)
commit4f09ac9d96ceea2a0532e17b614b9b2835041c17
tree55ea45a29dbf823f67b645027db40d6a8c276ab8
parent1aba50b880e1834a6f2f1cb0df23ccce3e84b8a8
scsi: isci: remote_device: Mark expected switch fall-throughs

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

Notice that, in this particular case, a dash is added as a token in order
to separate the "fall through" annotations from the rest of the comment on
the same line, which is what GCC is expecting to find.

Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Acked-by: Artur Paszkiewicz <artur.paszkiewicz@intel.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/isci/remote_device.c