Commit 9e03aa2f authored by Joe Perches's avatar Joe Perches Committed by Jiri Kosina

treewide: Convert retrun typos to return

Tyops should be fixed.
Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 9cf510a5
...@@ -416,7 +416,7 @@ static void rtl92d_dm_dig(struct ieee80211_hw *hw) ...@@ -416,7 +416,7 @@ static void rtl92d_dm_dig(struct ieee80211_hw *hw)
/* because we will send data pkt when scanning /* because we will send data pkt when scanning
* this will cause some ap like gear-3700 wep TP * this will cause some ap like gear-3700 wep TP
* lower if we retrun here, this is the diff of * lower if we return here, this is the diff of
* mac80211 driver vs ieee80211 driver */ * mac80211 driver vs ieee80211 driver */
/* if (rtlpriv->mac80211.act_scanning) /* if (rtlpriv->mac80211.act_scanning)
* return; */ * return; */
......
...@@ -206,7 +206,7 @@ bfad_im_abort_handler(struct scsi_cmnd *cmnd) ...@@ -206,7 +206,7 @@ bfad_im_abort_handler(struct scsi_cmnd *cmnd)
spin_lock_irqsave(&bfad->bfad_lock, flags); spin_lock_irqsave(&bfad->bfad_lock, flags);
hal_io = (struct bfa_ioim_s *) cmnd->host_scribble; hal_io = (struct bfa_ioim_s *) cmnd->host_scribble;
if (!hal_io) { if (!hal_io) {
/* IO has been completed, retrun success */ /* IO has been completed, return success */
rc = SUCCESS; rc = SUCCESS;
goto out; goto out;
} }
......
...@@ -1054,7 +1054,7 @@ static void adjust_hpsa_scsi_table(struct ctlr_info *h, int hostno, ...@@ -1054,7 +1054,7 @@ static void adjust_hpsa_scsi_table(struct ctlr_info *h, int hostno,
} }
/* /*
* 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. * Assume's h->devlock is held.
*/ */
static struct hpsa_scsi_dev_t *lookup_hpsa_scsi_dev(struct ctlr_info *h, static struct hpsa_scsi_dev_t *lookup_hpsa_scsi_dev(struct ctlr_info *h,
......
...@@ -2627,7 +2627,7 @@ static int lpfcdiag_loop_get_xri(struct lpfc_hba *phba, uint16_t rpi, ...@@ -2627,7 +2627,7 @@ static int lpfcdiag_loop_get_xri(struct lpfc_hba *phba, uint16_t rpi,
* @phba: Pointer to HBA context object * @phba: Pointer to HBA context object
* *
* This function allocates BSG_MBOX_SIZE (4KB) page size dma buffer and. * 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 * static struct lpfc_dmabuf *
lpfc_bsg_dma_page_alloc(struct lpfc_hba *phba) lpfc_bsg_dma_page_alloc(struct lpfc_hba *phba)
......
...@@ -1882,7 +1882,7 @@ qla24xx_process_bidir_cmd(struct fc_bsg_job *bsg_job) ...@@ -1882,7 +1882,7 @@ qla24xx_process_bidir_cmd(struct fc_bsg_job *bsg_job)
bsg_job->reply->reply_payload_rcv_len = 0; bsg_job->reply->reply_payload_rcv_len = 0;
bsg_job->reply->result = (DID_OK) << 16; bsg_job->reply->result = (DID_OK) << 16;
bsg_job->job_done(bsg_job); bsg_job->job_done(bsg_job);
/* Always retrun success, vendor rsp carries correct status */ /* Always return success, vendor rsp carries correct status */
return 0; return 0;
} }
......
...@@ -45,7 +45,7 @@ static int kgdboc_reset_connect(struct input_handler *handler, ...@@ -45,7 +45,7 @@ static int kgdboc_reset_connect(struct input_handler *handler,
{ {
input_reset_device(dev); input_reset_device(dev);
/* Retrun an error - we do not want to bind, just to reset */ /* Return an error - we do not want to bind, just to reset */
return -ENODEV; return -ENODEV;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment