mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-04 08:08:54 +00:00
scsi: isci: remote_node_context: 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>
This commit is contained in:
parent
4f09ac9d96
commit
87be32b3ad
1 changed files with 2 additions and 2 deletions
|
@ -601,9 +601,9 @@ enum sci_status sci_remote_node_context_suspend(
|
|||
__func__, sci_rnc);
|
||||
return SCI_FAILURE_INVALID_STATE;
|
||||
}
|
||||
/* Fall through and handle like SCI_RNC_POSTING */
|
||||
/* Fall through - and handle like SCI_RNC_POSTING */
|
||||
case SCI_RNC_RESUMING:
|
||||
/* Fall through and handle like SCI_RNC_POSTING */
|
||||
/* Fall through - and handle like SCI_RNC_POSTING */
|
||||
case SCI_RNC_POSTING:
|
||||
/* Set the destination state to AWAIT - this signals the
|
||||
* entry into the SCI_RNC_READY state that a suspension
|
||||
|
|
Loading…
Reference in a new issue