mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
treewide: Convert retrun typos to return
Tyops should be fixed. Signed-off-by: Joe Perches <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
This commit is contained in:
parent
9cf510a58c
commit
9e03aa2f83
6 changed files with 6 additions and 6 deletions
|
|
@ -206,7 +206,7 @@ bfad_im_abort_handler(struct scsi_cmnd *cmnd)
|
|||
spin_lock_irqsave(&bfad->bfad_lock, flags);
|
||||
hal_io = (struct bfa_ioim_s *) cmnd->host_scribble;
|
||||
if (!hal_io) {
|
||||
/* IO has been completed, retrun success */
|
||||
/* IO has been completed, return success */
|
||||
rc = SUCCESS;
|
||||
goto out;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1054,7 +1054,7 @@ free_and_out:
|
|||
}
|
||||
|
||||
/*
|
||||
* Lookup bus/target/lun and retrun corresponding struct hpsa_scsi_dev_t *
|
||||
* Lookup bus/target/lun and return corresponding struct hpsa_scsi_dev_t *
|
||||
* Assume's h->devlock is held.
|
||||
*/
|
||||
static struct hpsa_scsi_dev_t *lookup_hpsa_scsi_dev(struct ctlr_info *h,
|
||||
|
|
|
|||
|
|
@ -2627,7 +2627,7 @@ err_get_xri_exit:
|
|||
* @phba: Pointer to HBA context object
|
||||
*
|
||||
* This function allocates BSG_MBOX_SIZE (4KB) page size dma buffer and.
|
||||
* retruns the pointer to the buffer.
|
||||
* returns the pointer to the buffer.
|
||||
**/
|
||||
static struct lpfc_dmabuf *
|
||||
lpfc_bsg_dma_page_alloc(struct lpfc_hba *phba)
|
||||
|
|
|
|||
|
|
@ -1882,7 +1882,7 @@ done:
|
|||
bsg_job->reply->reply_payload_rcv_len = 0;
|
||||
bsg_job->reply->result = (DID_OK) << 16;
|
||||
bsg_job->job_done(bsg_job);
|
||||
/* Always retrun success, vendor rsp carries correct status */
|
||||
/* Always return success, vendor rsp carries correct status */
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue