forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-10-09 244b2c5ca8b14627e4a17755e5922221e121c771
kernel/drivers/scsi/isci/remote_node_context.c
....@@ -225,7 +225,7 @@
225225 case RNC_DEST_READY:
226226 case RNC_DEST_SUSPENDED_RESUME:
227227 rnc->destination_state = RNC_DEST_READY;
228
- /* Fall through... */
228
+ fallthrough;
229229 case RNC_DEST_FINAL:
230230 sci_remote_node_context_resume(rnc, rnc->user_callback,
231231 rnc->user_cookie);
....@@ -601,9 +601,9 @@
601601 __func__, sci_rnc);
602602 return SCI_FAILURE_INVALID_STATE;
603603 }
604
- /* Fall through and handle like SCI_RNC_POSTING */
604
+ fallthrough; /* and handle like SCI_RNC_POSTING */
605605 case SCI_RNC_RESUMING:
606
- /* Fall through and handle like SCI_RNC_POSTING */
606
+ fallthrough; /* and handle like SCI_RNC_POSTING */
607607 case SCI_RNC_POSTING:
608608 /* Set the destination state to AWAIT - this signals the
609609 * entry into the SCI_RNC_READY state that a suspension