aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/lpfc
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2009-12-09 22:43:33 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2009-12-09 22:43:33 -0500
commit4ef58d4e2ad1fa2a3e5bbf41af2284671fca8cf8 (patch)
tree856ba96302a36014736747e8464f80eeb827bbdd /drivers/scsi/lpfc
parentf6c4c8195b5e7878823caa1181be404d9e86d369 (diff)
parentd014d043869cdc591f3a33243d3481fa4479c2d0 (diff)
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (42 commits) tree-wide: fix misspelling of "definition" in comments reiserfs: fix misspelling of "journaled" doc: Fix a typo in slub.txt. inotify: remove superfluous return code check hdlc: spelling fix in find_pvc() comment doc: fix regulator docs cut-and-pasteism mtd: Fix comment in Kconfig doc: Fix IRQ chip docs tree-wide: fix assorted typos all over the place drivers/ata/libata-sff.c: comment spelling fixes fix typos/grammos in Documentation/edac.txt sysctl: add missing comments fs/debugfs/inode.c: fix comment typos sgivwfb: Make use of ARRAY_SIZE. sky2: fix sky2_link_down copy/paste comment error tree-wide: fix typos "couter" -> "counter" tree-wide: fix typos "offest" -> "offset" fix kerneldoc for set_irq_msi() spidev: fix double "of of" in comment comment typo fix: sybsystem -> subsystem ...
Diffstat (limited to 'drivers/scsi/lpfc')
-rw-r--r--drivers/scsi/lpfc/lpfc_attr.c4
-rw-r--r--drivers/scsi/lpfc/lpfc_els.c4
-rw-r--r--drivers/scsi/lpfc/lpfc_init.c62
-rw-r--r--drivers/scsi/lpfc/lpfc_sli.c10
4 files changed, 40 insertions, 40 deletions
diff --git a/drivers/scsi/lpfc/lpfc_attr.c b/drivers/scsi/lpfc/lpfc_attr.c
index 75523603b91c..91542f786edf 100644
--- a/drivers/scsi/lpfc/lpfc_attr.c
+++ b/drivers/scsi/lpfc/lpfc_attr.c
@@ -678,7 +678,7 @@ lpfc_selective_reset(struct lpfc_hba *phba)
678 * Notes: 678 * Notes:
679 * Assumes any error from lpfc_selective_reset() will be negative. 679 * Assumes any error from lpfc_selective_reset() will be negative.
680 * If lpfc_selective_reset() returns zero then the length of the buffer 680 * If lpfc_selective_reset() returns zero then the length of the buffer
681 * is returned which indicates succcess 681 * is returned which indicates success
682 * 682 *
683 * Returns: 683 * Returns:
684 * -EINVAL if the buffer does not contain the string "selective" 684 * -EINVAL if the buffer does not contain the string "selective"
@@ -3363,7 +3363,7 @@ sysfs_ctlreg_write(struct kobject *kobj, struct bin_attribute *bin_attr,
3363 * sysfs_ctlreg_read - Read method for reading from ctlreg 3363 * sysfs_ctlreg_read - Read method for reading from ctlreg
3364 * @kobj: kernel kobject that contains the kernel class device. 3364 * @kobj: kernel kobject that contains the kernel class device.
3365 * @bin_attr: kernel attributes passed to us. 3365 * @bin_attr: kernel attributes passed to us.
3366 * @buf: if succesful contains the data from the adapter IOREG space. 3366 * @buf: if successful contains the data from the adapter IOREG space.
3367 * @off: offset into buffer to beginning of data. 3367 * @off: offset into buffer to beginning of data.
3368 * @count: bytes to transfer. 3368 * @count: bytes to transfer.
3369 * 3369 *
diff --git a/drivers/scsi/lpfc/lpfc_els.c b/drivers/scsi/lpfc/lpfc_els.c
index a079bbc03cf8..ce522702a6c1 100644
--- a/drivers/scsi/lpfc/lpfc_els.c
+++ b/drivers/scsi/lpfc/lpfc_els.c
@@ -815,7 +815,7 @@ lpfc_cmpl_els_flogi(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocb,
815 815
816 /* FLOGI completes successfully */ 816 /* FLOGI completes successfully */
817 lpfc_printf_vlog(vport, KERN_INFO, LOG_ELS, 817 lpfc_printf_vlog(vport, KERN_INFO, LOG_ELS,
818 "0101 FLOGI completes sucessfully " 818 "0101 FLOGI completes successfully "
819 "Data: x%x x%x x%x x%x\n", 819 "Data: x%x x%x x%x x%x\n",
820 irsp->un.ulpWord[4], sp->cmn.e_d_tov, 820 irsp->un.ulpWord[4], sp->cmn.e_d_tov,
821 sp->cmn.w2.r_a_tov, sp->cmn.edtovResolution); 821 sp->cmn.w2.r_a_tov, sp->cmn.edtovResolution);
@@ -4151,7 +4151,7 @@ lpfc_els_rcv_rscn(struct lpfc_vport *vport, struct lpfc_iocbq *cmdiocb,
4151 /* Indicate we are walking fc_rscn_id_list on this vport */ 4151 /* Indicate we are walking fc_rscn_id_list on this vport */
4152 vport->fc_rscn_flush = 1; 4152 vport->fc_rscn_flush = 1;
4153 spin_unlock_irq(shost->host_lock); 4153 spin_unlock_irq(shost->host_lock);
4154 /* Get the array count after sucessfully have the token */ 4154 /* Get the array count after successfully have the token */
4155 rscn_cnt = vport->fc_rscn_id_cnt; 4155 rscn_cnt = vport->fc_rscn_id_cnt;
4156 /* If we are already processing an RSCN, save the received 4156 /* If we are already processing an RSCN, save the received
4157 * RSCN payload buffer, cmdiocb->context2 to process later. 4157 * RSCN payload buffer, cmdiocb->context2 to process later.
diff --git a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi/lpfc/lpfc_init.c
index 0ba35a9a5c5f..226920d15ea1 100644
--- a/drivers/scsi/lpfc/lpfc_init.c
+++ b/drivers/scsi/lpfc/lpfc_init.c
@@ -646,7 +646,7 @@ lpfc_hba_down_prep(struct lpfc_hba *phba)
646 * down the SLI Layer. 646 * down the SLI Layer.
647 * 647 *
648 * Return codes 648 * Return codes
649 * 0 - sucess. 649 * 0 - success.
650 * Any other value - error. 650 * Any other value - error.
651 **/ 651 **/
652static int 652static int
@@ -701,7 +701,7 @@ lpfc_hba_down_post_s3(struct lpfc_hba *phba)
701 * down the SLI Layer. 701 * down the SLI Layer.
702 * 702 *
703 * Return codes 703 * Return codes
704 * 0 - sucess. 704 * 0 - success.
705 * Any other value - error. 705 * Any other value - error.
706 **/ 706 **/
707static int 707static int
@@ -756,7 +756,7 @@ lpfc_hba_down_post_s4(struct lpfc_hba *phba)
756 * uninitialization after the HBA is reset when bring down the SLI Layer. 756 * uninitialization after the HBA is reset when bring down the SLI Layer.
757 * 757 *
758 * Return codes 758 * Return codes
759 * 0 - sucess. 759 * 0 - success.
760 * Any other value - error. 760 * Any other value - error.
761 **/ 761 **/
762int 762int
@@ -1262,7 +1262,7 @@ lpfc_handle_eratt_s4(struct lpfc_hba *phba)
1262 * routine from the API jump table function pointer from the lpfc_hba struct. 1262 * routine from the API jump table function pointer from the lpfc_hba struct.
1263 * 1263 *
1264 * Return codes 1264 * Return codes
1265 * 0 - sucess. 1265 * 0 - success.
1266 * Any other value - error. 1266 * Any other value - error.
1267 **/ 1267 **/
1268void 1268void
@@ -3234,7 +3234,7 @@ static void lpfc_log_intr_mode(struct lpfc_hba *phba, uint32_t intr_mode)
3234 * PCI devices. 3234 * PCI devices.
3235 * 3235 *
3236 * Return codes 3236 * Return codes
3237 * 0 - sucessful 3237 * 0 - successful
3238 * other values - error 3238 * other values - error
3239 **/ 3239 **/
3240static int 3240static int
@@ -3330,7 +3330,7 @@ lpfc_reset_hba(struct lpfc_hba *phba)
3330 * support the SLI-3 HBA device it attached to. 3330 * support the SLI-3 HBA device it attached to.
3331 * 3331 *
3332 * Return codes 3332 * Return codes
3333 * 0 - sucessful 3333 * 0 - successful
3334 * other values - error 3334 * other values - error
3335 **/ 3335 **/
3336static int 3336static int
@@ -3431,7 +3431,7 @@ lpfc_sli_driver_resource_unset(struct lpfc_hba *phba)
3431 * support the SLI-4 HBA device it attached to. 3431 * support the SLI-4 HBA device it attached to.
3432 * 3432 *
3433 * Return codes 3433 * Return codes
3434 * 0 - sucessful 3434 * 0 - successful
3435 * other values - error 3435 * other values - error
3436 **/ 3436 **/
3437static int 3437static int
@@ -3758,7 +3758,7 @@ lpfc_init_api_table_setup(struct lpfc_hba *phba, uint8_t dev_grp)
3758 * device specific resource setup to support the HBA device it attached to. 3758 * device specific resource setup to support the HBA device it attached to.
3759 * 3759 *
3760 * Return codes 3760 * Return codes
3761 * 0 - sucessful 3761 * 0 - successful
3762 * other values - error 3762 * other values - error
3763 **/ 3763 **/
3764static int 3764static int
@@ -3804,7 +3804,7 @@ lpfc_setup_driver_resource_phase1(struct lpfc_hba *phba)
3804 * device specific resource setup to support the HBA device it attached to. 3804 * device specific resource setup to support the HBA device it attached to.
3805 * 3805 *
3806 * Return codes 3806 * Return codes
3807 * 0 - sucessful 3807 * 0 - successful
3808 * other values - error 3808 * other values - error
3809 **/ 3809 **/
3810static int 3810static int
@@ -3869,7 +3869,7 @@ lpfc_free_iocb_list(struct lpfc_hba *phba)
3869 * list and set up the IOCB tag array accordingly. 3869 * list and set up the IOCB tag array accordingly.
3870 * 3870 *
3871 * Return codes 3871 * Return codes
3872 * 0 - sucessful 3872 * 0 - successful
3873 * other values - error 3873 * other values - error
3874 **/ 3874 **/
3875static int 3875static int
@@ -3988,7 +3988,7 @@ lpfc_free_active_sgl(struct lpfc_hba *phba)
3988 * list and set up the sgl xritag tag array accordingly. 3988 * list and set up the sgl xritag tag array accordingly.
3989 * 3989 *
3990 * Return codes 3990 * Return codes
3991 * 0 - sucessful 3991 * 0 - successful
3992 * other values - error 3992 * other values - error
3993 **/ 3993 **/
3994static int 3994static int
@@ -4102,7 +4102,7 @@ out_free_mem:
4102 * enabled and the driver is reinitializing the device. 4102 * enabled and the driver is reinitializing the device.
4103 * 4103 *
4104 * Return codes 4104 * Return codes
4105 * 0 - sucessful 4105 * 0 - successful
4106 * ENOMEM - No availble memory 4106 * ENOMEM - No availble memory
4107 * EIO - The mailbox failed to complete successfully. 4107 * EIO - The mailbox failed to complete successfully.
4108 **/ 4108 **/
@@ -4262,7 +4262,7 @@ lpfc_sli4_remove_rpi_hdrs(struct lpfc_hba *phba)
4262 * PCI device data structure is set. 4262 * PCI device data structure is set.
4263 * 4263 *
4264 * Return codes 4264 * Return codes
4265 * pointer to @phba - sucessful 4265 * pointer to @phba - successful
4266 * NULL - error 4266 * NULL - error
4267 **/ 4267 **/
4268static struct lpfc_hba * 4268static struct lpfc_hba *
@@ -4318,7 +4318,7 @@ lpfc_hba_free(struct lpfc_hba *phba)
4318 * host with it. 4318 * host with it.
4319 * 4319 *
4320 * Return codes 4320 * Return codes
4321 * 0 - sucessful 4321 * 0 - successful
4322 * other values - error 4322 * other values - error
4323 **/ 4323 **/
4324static int 4324static int
@@ -4487,7 +4487,7 @@ lpfc_post_init_setup(struct lpfc_hba *phba)
4487 * with SLI-3 interface spec. 4487 * with SLI-3 interface spec.
4488 * 4488 *
4489 * Return codes 4489 * Return codes
4490 * 0 - sucessful 4490 * 0 - successful
4491 * other values - error 4491 * other values - error
4492 **/ 4492 **/
4493static int 4493static int
@@ -4782,7 +4782,7 @@ lpfc_sli4_bar2_register_memmap(struct lpfc_hba *phba, uint32_t vf)
4782 * this routine. 4782 * this routine.
4783 * 4783 *
4784 * Return codes 4784 * Return codes
4785 * 0 - sucessful 4785 * 0 - successful
4786 * ENOMEM - could not allocated memory. 4786 * ENOMEM - could not allocated memory.
4787 **/ 4787 **/
4788static int 4788static int
@@ -4881,7 +4881,7 @@ lpfc_destroy_bootstrap_mbox(struct lpfc_hba *phba)
4881 * allocation for the port. 4881 * allocation for the port.
4882 * 4882 *
4883 * Return codes 4883 * Return codes
4884 * 0 - sucessful 4884 * 0 - successful
4885 * ENOMEM - No availble memory 4885 * ENOMEM - No availble memory
4886 * EIO - The mailbox failed to complete successfully. 4886 * EIO - The mailbox failed to complete successfully.
4887 **/ 4887 **/
@@ -4982,7 +4982,7 @@ lpfc_sli4_read_config(struct lpfc_hba *phba)
4982 * HBA consistent with the SLI-4 interface spec. 4982 * HBA consistent with the SLI-4 interface spec.
4983 * 4983 *
4984 * Return codes 4984 * Return codes
4985 * 0 - sucessful 4985 * 0 - successful
4986 * ENOMEM - No availble memory 4986 * ENOMEM - No availble memory
4987 * EIO - The mailbox failed to complete successfully. 4987 * EIO - The mailbox failed to complete successfully.
4988 **/ 4988 **/
@@ -5031,7 +5031,7 @@ lpfc_setup_endian_order(struct lpfc_hba *phba)
5031 * we just use some constant number as place holder. 5031 * we just use some constant number as place holder.
5032 * 5032 *
5033 * Return codes 5033 * Return codes
5034 * 0 - sucessful 5034 * 0 - successful
5035 * ENOMEM - No availble memory 5035 * ENOMEM - No availble memory
5036 * EIO - The mailbox failed to complete successfully. 5036 * EIO - The mailbox failed to complete successfully.
5037 **/ 5037 **/
@@ -5326,7 +5326,7 @@ out_error:
5326 * operation. 5326 * operation.
5327 * 5327 *
5328 * Return codes 5328 * Return codes
5329 * 0 - sucessful 5329 * 0 - successful
5330 * ENOMEM - No availble memory 5330 * ENOMEM - No availble memory
5331 * EIO - The mailbox failed to complete successfully. 5331 * EIO - The mailbox failed to complete successfully.
5332 **/ 5332 **/
@@ -5390,7 +5390,7 @@ lpfc_sli4_queue_destroy(struct lpfc_hba *phba)
5390 * operation. 5390 * operation.
5391 * 5391 *
5392 * Return codes 5392 * Return codes
5393 * 0 - sucessful 5393 * 0 - successful
5394 * ENOMEM - No availble memory 5394 * ENOMEM - No availble memory
5395 * EIO - The mailbox failed to complete successfully. 5395 * EIO - The mailbox failed to complete successfully.
5396 **/ 5396 **/
@@ -5635,7 +5635,7 @@ out_error:
5635 * operation. 5635 * operation.
5636 * 5636 *
5637 * Return codes 5637 * Return codes
5638 * 0 - sucessful 5638 * 0 - successful
5639 * ENOMEM - No availble memory 5639 * ENOMEM - No availble memory
5640 * EIO - The mailbox failed to complete successfully. 5640 * EIO - The mailbox failed to complete successfully.
5641 **/ 5641 **/
@@ -5680,7 +5680,7 @@ lpfc_sli4_queue_unset(struct lpfc_hba *phba)
5680 * Later, this can be used for all the slow-path events. 5680 * Later, this can be used for all the slow-path events.
5681 * 5681 *
5682 * Return codes 5682 * Return codes
5683 * 0 - sucessful 5683 * 0 - successful
5684 * -ENOMEM - No availble memory 5684 * -ENOMEM - No availble memory
5685 **/ 5685 **/
5686static int 5686static int
@@ -5841,7 +5841,7 @@ lpfc_sli4_cq_event_release_all(struct lpfc_hba *phba)
5841 * all resources assigned to the PCI function which originates this request. 5841 * all resources assigned to the PCI function which originates this request.
5842 * 5842 *
5843 * Return codes 5843 * Return codes
5844 * 0 - sucessful 5844 * 0 - successful
5845 * ENOMEM - No availble memory 5845 * ENOMEM - No availble memory
5846 * EIO - The mailbox failed to complete successfully. 5846 * EIO - The mailbox failed to complete successfully.
5847 **/ 5847 **/
@@ -6004,7 +6004,7 @@ lpfc_sli4_fcfi_unreg(struct lpfc_hba *phba, uint16_t fcfi)
6004 * with SLI-4 interface spec. 6004 * with SLI-4 interface spec.
6005 * 6005 *
6006 * Return codes 6006 * Return codes
6007 * 0 - sucessful 6007 * 0 - successful
6008 * other values - error 6008 * other values - error
6009 **/ 6009 **/
6010static int 6010static int
@@ -6133,7 +6133,7 @@ lpfc_sli4_pci_mem_unset(struct lpfc_hba *phba)
6133 * will be left with MSI-X enabled and leaks its vectors. 6133 * will be left with MSI-X enabled and leaks its vectors.
6134 * 6134 *
6135 * Return codes 6135 * Return codes
6136 * 0 - sucessful 6136 * 0 - successful
6137 * other values - error 6137 * other values - error
6138 **/ 6138 **/
6139static int 6139static int
@@ -6265,7 +6265,7 @@ lpfc_sli_disable_msix(struct lpfc_hba *phba)
6265 * is done in this function. 6265 * is done in this function.
6266 * 6266 *
6267 * Return codes 6267 * Return codes
6268 * 0 - sucessful 6268 * 0 - successful
6269 * other values - error 6269 * other values - error
6270 */ 6270 */
6271static int 6271static int
@@ -6324,7 +6324,7 @@ lpfc_sli_disable_msi(struct lpfc_hba *phba)
6324 * MSI-X -> MSI -> IRQ. 6324 * MSI-X -> MSI -> IRQ.
6325 * 6325 *
6326 * Return codes 6326 * Return codes
6327 * 0 - sucessful 6327 * 0 - successful
6328 * other values - error 6328 * other values - error
6329 **/ 6329 **/
6330static uint32_t 6330static uint32_t
@@ -6414,7 +6414,7 @@ lpfc_sli_disable_intr(struct lpfc_hba *phba)
6414 * enabled and leaks its vectors. 6414 * enabled and leaks its vectors.
6415 * 6415 *
6416 * Return codes 6416 * Return codes
6417 * 0 - sucessful 6417 * 0 - successful
6418 * other values - error 6418 * other values - error
6419 **/ 6419 **/
6420static int 6420static int
@@ -6524,7 +6524,7 @@ lpfc_sli4_disable_msix(struct lpfc_hba *phba)
6524 * which is done in this function. 6524 * which is done in this function.
6525 * 6525 *
6526 * Return codes 6526 * Return codes
6527 * 0 - sucessful 6527 * 0 - successful
6528 * other values - error 6528 * other values - error
6529 **/ 6529 **/
6530static int 6530static int
@@ -6589,7 +6589,7 @@ lpfc_sli4_disable_msi(struct lpfc_hba *phba)
6589 * MSI-X -> MSI -> IRQ. 6589 * MSI-X -> MSI -> IRQ.
6590 * 6590 *
6591 * Return codes 6591 * Return codes
6592 * 0 - sucessful 6592 * 0 - successful
6593 * other values - error 6593 * other values - error
6594 **/ 6594 **/
6595static uint32_t 6595static uint32_t
diff --git a/drivers/scsi/lpfc/lpfc_sli.c b/drivers/scsi/lpfc/lpfc_sli.c
index b3a69f984d95..7935667b81a5 100644
--- a/drivers/scsi/lpfc/lpfc_sli.c
+++ b/drivers/scsi/lpfc/lpfc_sli.c
@@ -1804,7 +1804,7 @@ lpfc_sli_handle_mb_event(struct lpfc_hba *phba)
1804 */ 1804 */
1805 if (lpfc_sli_chk_mbx_command(pmbox->mbxCommand) == 1805 if (lpfc_sli_chk_mbx_command(pmbox->mbxCommand) ==
1806 MBX_SHUTDOWN) { 1806 MBX_SHUTDOWN) {
1807 /* Unknow mailbox command compl */ 1807 /* Unknown mailbox command compl */
1808 lpfc_printf_log(phba, KERN_ERR, LOG_MBOX | LOG_SLI, 1808 lpfc_printf_log(phba, KERN_ERR, LOG_MBOX | LOG_SLI,
1809 "(%d):0323 Unknown Mailbox command " 1809 "(%d):0323 Unknown Mailbox command "
1810 "x%x (x%x) Cmpl\n", 1810 "x%x (x%x) Cmpl\n",
@@ -4062,7 +4062,7 @@ lpfc_sli4_read_fcoe_params(struct lpfc_hba *phba,
4062 * addition, this routine gets the port vpd data. 4062 * addition, this routine gets the port vpd data.
4063 * 4063 *
4064 * Return codes 4064 * Return codes
4065 * 0 - sucessful 4065 * 0 - successful
4066 * ENOMEM - could not allocated memory. 4066 * ENOMEM - could not allocated memory.
4067 **/ 4067 **/
4068static int 4068static int
@@ -11428,7 +11428,7 @@ lpfc_sli4_handle_received_buffer(struct lpfc_hba *phba,
11428 * sequential. 11428 * sequential.
11429 * 11429 *
11430 * Return codes 11430 * Return codes
11431 * 0 - sucessful 11431 * 0 - successful
11432 * EIO - The mailbox failed to complete successfully. 11432 * EIO - The mailbox failed to complete successfully.
11433 * When this error occurs, the driver is not guaranteed 11433 * When this error occurs, the driver is not guaranteed
11434 * to have any rpi regions posted to the device and 11434 * to have any rpi regions posted to the device and
@@ -11466,7 +11466,7 @@ lpfc_sli4_post_all_rpi_hdrs(struct lpfc_hba *phba)
11466 * maps up to 64 rpi context regions. 11466 * maps up to 64 rpi context regions.
11467 * 11467 *
11468 * Return codes 11468 * Return codes
11469 * 0 - sucessful 11469 * 0 - successful
11470 * ENOMEM - No available memory 11470 * ENOMEM - No available memory
11471 * EIO - The mailbox failed to complete successfully. 11471 * EIO - The mailbox failed to complete successfully.
11472 **/ 11472 **/
@@ -11528,7 +11528,7 @@ lpfc_sli4_post_rpi_hdr(struct lpfc_hba *phba, struct lpfc_rpi_hdr *rpi_page)
11528 * PAGE_SIZE modulo 64 rpi context headers. 11528 * PAGE_SIZE modulo 64 rpi context headers.
11529 * 11529 *
11530 * Returns 11530 * Returns
11531 * A nonzero rpi defined as rpi_base <= rpi < max_rpi if sucessful 11531 * A nonzero rpi defined as rpi_base <= rpi < max_rpi if successful
11532 * LPFC_RPI_ALLOC_ERROR if no rpis are available. 11532 * LPFC_RPI_ALLOC_ERROR if no rpis are available.
11533 **/ 11533 **/
11534int 11534int