Skip to content

Commit da79030

Browse files
GustavoARSilvamartinkpetersen
authored andcommitted
scsi: isci: request: mark expected switch fall-through
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" annotation 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>
1 parent 87be32b commit da79030

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/scsi/isci/request.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -894,7 +894,7 @@ sci_io_request_terminate(struct isci_request *ireq)
894894
* and don't wait for the task response.
895895
*/
896896
sci_change_state(&ireq->sm, SCI_REQ_ABORTING);
897-
/* Fall through and handle like ABORTING... */
897+
/* Fall through - and handle like ABORTING... */
898898
case SCI_REQ_ABORTING:
899899
if (!isci_remote_device_is_safe_to_abort(ireq->target_device))
900900
set_bit(IREQ_PENDING_ABORT, &ireq->flags);

0 commit comments

Comments
 (0)