diff options
author | Anatol Pomozov <anatol.pomozov@gmail.com> | 2012-09-01 13:31:09 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2012-09-01 13:33:05 -0400 |
commit | 4907cb7b193a4f91c1fd30cf679c035e3644c64d (patch) | |
tree | 3a11b6fed733b906e005a7f7cfa5b5c6c78dbd49 /drivers/scsi | |
parent | 203fa3fe9c9d79b3f4cd044cab13622123b6c578 (diff) |
treewide: fix comment/printk/variable typos
Signed-off-by: Anatol Pomozov <anatol.pomozov@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/bfa/bfa_ioc.c | 2 | ||||
-rw-r--r-- | drivers/scsi/bfa/bfa_ioc.h | 2 | ||||
-rw-r--r-- | drivers/scsi/isci/init.c | 2 | ||||
-rw-r--r-- | drivers/scsi/isci/request.c | 2 | ||||
-rw-r--r-- | drivers/scsi/isci/task.c | 2 | ||||
-rw-r--r-- | drivers/scsi/lpfc/lpfc_init.c | 2 | ||||
-rw-r--r-- | drivers/scsi/lpfc/lpfc_sli.c | 4 |
7 files changed, 8 insertions, 8 deletions
diff --git a/drivers/scsi/bfa/bfa_ioc.c b/drivers/scsi/bfa/bfa_ioc.c index 14e6284e48e4..6faff0053370 100644 --- a/drivers/scsi/bfa/bfa_ioc.c +++ b/drivers/scsi/bfa/bfa_ioc.c | |||
@@ -5587,7 +5587,7 @@ static bfa_status_t bfa_dconf_flash_write(struct bfa_dconf_mod_s *dconf); | |||
5587 | static void bfa_dconf_init_cb(void *arg, bfa_status_t status); | 5587 | static void bfa_dconf_init_cb(void *arg, bfa_status_t status); |
5588 | 5588 | ||
5589 | /* | 5589 | /* |
5590 | * Begining state of dconf module. Waiting for an event to start. | 5590 | * Beginning state of dconf module. Waiting for an event to start. |
5591 | */ | 5591 | */ |
5592 | static void | 5592 | static void |
5593 | bfa_dconf_sm_uninit(struct bfa_dconf_mod_s *dconf, enum bfa_dconf_event event) | 5593 | bfa_dconf_sm_uninit(struct bfa_dconf_mod_s *dconf, enum bfa_dconf_event event) |
diff --git a/drivers/scsi/bfa/bfa_ioc.h b/drivers/scsi/bfa/bfa_ioc.h index 1a99d4b5b50f..7b916e04ca56 100644 --- a/drivers/scsi/bfa/bfa_ioc.h +++ b/drivers/scsi/bfa/bfa_ioc.h | |||
@@ -530,7 +530,7 @@ struct bfa_diag_results_fwping { | |||
530 | 530 | ||
531 | struct bfa_diag_qtest_result_s { | 531 | struct bfa_diag_qtest_result_s { |
532 | u32 status; | 532 | u32 status; |
533 | u16 count; /* sucessful queue test count */ | 533 | u16 count; /* successful queue test count */ |
534 | u8 queue; | 534 | u8 queue; |
535 | u8 rsvd; /* 64-bit align */ | 535 | u8 rsvd; /* 64-bit align */ |
536 | }; | 536 | }; |
diff --git a/drivers/scsi/isci/init.c b/drivers/scsi/isci/init.c index 47e28b555029..8912567988cf 100644 --- a/drivers/scsi/isci/init.c +++ b/drivers/scsi/isci/init.c | |||
@@ -219,7 +219,7 @@ static struct sas_domain_function_template isci_transport_ops = { | |||
219 | * @isci_host: This parameter specifies the lldd specific wrapper for the | 219 | * @isci_host: This parameter specifies the lldd specific wrapper for the |
220 | * libsas sas_ha struct. | 220 | * libsas sas_ha struct. |
221 | * | 221 | * |
222 | * This method returns an error code indicating sucess or failure. The user | 222 | * This method returns an error code indicating success or failure. The user |
223 | * should check for possible memory allocation error return otherwise, a zero | 223 | * should check for possible memory allocation error return otherwise, a zero |
224 | * indicates success. | 224 | * indicates success. |
225 | */ | 225 | */ |
diff --git a/drivers/scsi/isci/request.c b/drivers/scsi/isci/request.c index 7a0431c73493..c1bafc3f3fb1 100644 --- a/drivers/scsi/isci/request.c +++ b/drivers/scsi/isci/request.c | |||
@@ -2240,7 +2240,7 @@ static enum sci_status atapi_data_tc_completion_handler(struct isci_request *ire | |||
2240 | status = ireq->sci_status; | 2240 | status = ireq->sci_status; |
2241 | sci_change_state(&idev->sm, SCI_STP_DEV_ATAPI_ERROR); | 2241 | sci_change_state(&idev->sm, SCI_STP_DEV_ATAPI_ERROR); |
2242 | } else { | 2242 | } else { |
2243 | /* If receiving any non-sucess TC status, no UF | 2243 | /* If receiving any non-success TC status, no UF |
2244 | * received yet, then an UF for the status fis | 2244 | * received yet, then an UF for the status fis |
2245 | * is coming after (XXX: suspect this is | 2245 | * is coming after (XXX: suspect this is |
2246 | * actually a protocol error or a bug like the | 2246 | * actually a protocol error or a bug like the |
diff --git a/drivers/scsi/isci/task.c b/drivers/scsi/isci/task.c index 6bc74eb012c9..b6f19a1db780 100644 --- a/drivers/scsi/isci/task.c +++ b/drivers/scsi/isci/task.c | |||
@@ -532,7 +532,7 @@ int isci_task_abort_task(struct sas_task *task) | |||
532 | /* The request has already completed and there | 532 | /* The request has already completed and there |
533 | * is nothing to do here other than to set the task | 533 | * is nothing to do here other than to set the task |
534 | * done bit, and indicate that the task abort function | 534 | * done bit, and indicate that the task abort function |
535 | * was sucessful. | 535 | * was successful. |
536 | */ | 536 | */ |
537 | spin_lock_irqsave(&task->task_state_lock, flags); | 537 | spin_lock_irqsave(&task->task_state_lock, flags); |
538 | task->task_state_flags |= SAS_TASK_STATE_DONE; | 538 | task->task_state_flags |= SAS_TASK_STATE_DONE; |
diff --git a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi/lpfc/lpfc_init.c index 411ed48d79da..be43b4f6bd70 100644 --- a/drivers/scsi/lpfc/lpfc_init.c +++ b/drivers/scsi/lpfc/lpfc_init.c | |||
@@ -6470,7 +6470,7 @@ out_error: | |||
6470 | * we just use some constant number as place holder. | 6470 | * we just use some constant number as place holder. |
6471 | * | 6471 | * |
6472 | * Return codes | 6472 | * Return codes |
6473 | * 0 - sucessful | 6473 | * 0 - successful |
6474 | * -ENOMEM - No availble memory | 6474 | * -ENOMEM - No availble memory |
6475 | * -EIO - The mailbox failed to complete successfully. | 6475 | * -EIO - The mailbox failed to complete successfully. |
6476 | **/ | 6476 | **/ |
diff --git a/drivers/scsi/lpfc/lpfc_sli.c b/drivers/scsi/lpfc/lpfc_sli.c index b4720a109817..7983abbb7aaf 100644 --- a/drivers/scsi/lpfc/lpfc_sli.c +++ b/drivers/scsi/lpfc/lpfc_sli.c | |||
@@ -4739,7 +4739,7 @@ lpfc_sli4_read_rev(struct lpfc_hba *phba, LPFC_MBOXQ_t *mboxq, | |||
4739 | * is attached to. | 4739 | * is attached to. |
4740 | * | 4740 | * |
4741 | * Return codes | 4741 | * Return codes |
4742 | * 0 - sucessful | 4742 | * 0 - successful |
4743 | * otherwise - failed to retrieve physical port name | 4743 | * otherwise - failed to retrieve physical port name |
4744 | **/ | 4744 | **/ |
4745 | static int | 4745 | static int |
@@ -15118,7 +15118,7 @@ lpfc_check_next_fcf_pri_level(struct lpfc_hba *phba) | |||
15118 | /* | 15118 | /* |
15119 | * if next_fcf_pri was not set above and the list is not empty then | 15119 | * if next_fcf_pri was not set above and the list is not empty then |
15120 | * we have failed flogis on all of them. So reset flogi failed | 15120 | * we have failed flogis on all of them. So reset flogi failed |
15121 | * and start at the begining. | 15121 | * and start at the beginning. |
15122 | */ | 15122 | */ |
15123 | if (!next_fcf_pri && !list_empty(&phba->fcf.fcf_pri_list)) { | 15123 | if (!next_fcf_pri && !list_empty(&phba->fcf.fcf_pri_list)) { |
15124 | list_for_each_entry(fcf_pri, &phba->fcf.fcf_pri_list, list) { | 15124 | list_for_each_entry(fcf_pri, &phba->fcf.fcf_pri_list, list) { |