aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/lpfc
diff options
context:
space:
mode:
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 e1a30a16a9fa..9bd19aa14249 100644
--- a/drivers/scsi/lpfc/lpfc_attr.c
+++ b/drivers/scsi/lpfc/lpfc_attr.c
@@ -654,7 +654,7 @@ lpfc_selective_reset(struct lpfc_hba *phba)
654 * Notes: 654 * Notes:
655 * Assumes any error from lpfc_selective_reset() will be negative. 655 * Assumes any error from lpfc_selective_reset() will be negative.
656 * If lpfc_selective_reset() returns zero then the length of the buffer 656 * If lpfc_selective_reset() returns zero then the length of the buffer
657 * is returned which indicates succcess 657 * is returned which indicates success
658 * 658 *
659 * Returns: 659 * Returns:
660 * -EINVAL if the buffer does not contain the string "selective" 660 * -EINVAL if the buffer does not contain the string "selective"
@@ -3147,7 +3147,7 @@ sysfs_ctlreg_write(struct kobject *kobj, struct bin_attribute *bin_attr,
3147 * sysfs_ctlreg_read - Read method for reading from ctlreg 3147 * sysfs_ctlreg_read - Read method for reading from ctlreg
3148 * @kobj: kernel kobject that contains the kernel class device. 3148 * @kobj: kernel kobject that contains the kernel class device.
3149 * @bin_attr: kernel attributes passed to us. 3149 * @bin_attr: kernel attributes passed to us.
3150 * @buf: if succesful contains the data from the adapter IOREG space. 3150 * @buf: if successful contains the data from the adapter IOREG space.
3151 * @off: offset into buffer to beginning of data. 3151 * @off: offset into buffer to beginning of data.
3152 * @count: bytes to transfer. 3152 * @count: bytes to transfer.
3153 * 3153 *
diff --git a/drivers/scsi/lpfc/lpfc_els.c b/drivers/scsi/lpfc/lpfc_els.c
index 45337cd23feb..a14ab4580d4e 100644
--- a/drivers/scsi/lpfc/lpfc_els.c
+++ b/drivers/scsi/lpfc/lpfc_els.c
@@ -802,7 +802,7 @@ lpfc_cmpl_els_flogi(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocb,
802 802
803 /* FLOGI completes successfully */ 803 /* FLOGI completes successfully */
804 lpfc_printf_vlog(vport, KERN_INFO, LOG_ELS, 804 lpfc_printf_vlog(vport, KERN_INFO, LOG_ELS,
805 "0101 FLOGI completes sucessfully " 805 "0101 FLOGI completes successfully "
806 "Data: x%x x%x x%x x%x\n", 806 "Data: x%x x%x x%x x%x\n",
807 irsp->un.ulpWord[4], sp->cmn.e_d_tov, 807 irsp->un.ulpWord[4], sp->cmn.e_d_tov,
808 sp->cmn.w2.r_a_tov, sp->cmn.edtovResolution); 808 sp->cmn.w2.r_a_tov, sp->cmn.edtovResolution);
@@ -4133,7 +4133,7 @@ lpfc_els_rcv_rscn(struct lpfc_vport *vport, struct lpfc_iocbq *cmdiocb,
4133 /* Indicate we are walking fc_rscn_id_list on this vport */ 4133 /* Indicate we are walking fc_rscn_id_list on this vport */
4134 vport->fc_rscn_flush = 1; 4134 vport->fc_rscn_flush = 1;
4135 spin_unlock_irq(shost->host_lock); 4135 spin_unlock_irq(shost->host_lock);
4136 /* Get the array count after sucessfully have the token */ 4136 /* Get the array count after successfully have the token */
4137 rscn_cnt = vport->fc_rscn_id_cnt; 4137 rscn_cnt = vport->fc_rscn_id_cnt;
4138 /* If we are already processing an RSCN, save the received 4138 /* If we are already processing an RSCN, save the received
4139 * RSCN payload buffer, cmdiocb->context2 to process later. 4139 * 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 562d8cee874b..82f8ab5c72cd 100644
--- a/drivers/scsi/lpfc/lpfc_init.c
+++ b/drivers/scsi/lpfc/lpfc_init.c
@@ -645,7 +645,7 @@ lpfc_hba_down_prep(struct lpfc_hba *phba)
645 * down the SLI Layer. 645 * down the SLI Layer.
646 * 646 *
647 * Return codes 647 * Return codes
648 * 0 - sucess. 648 * 0 - success.
649 * Any other value - error. 649 * Any other value - error.
650 **/ 650 **/
651static int 651static int
@@ -700,7 +700,7 @@ lpfc_hba_down_post_s3(struct lpfc_hba *phba)
700 * down the SLI Layer. 700 * down the SLI Layer.
701 * 701 *
702 * Return codes 702 * Return codes
703 * 0 - sucess. 703 * 0 - success.
704 * Any other value - error. 704 * Any other value - error.
705 **/ 705 **/
706static int 706static int
@@ -755,7 +755,7 @@ lpfc_hba_down_post_s4(struct lpfc_hba *phba)
755 * uninitialization after the HBA is reset when bring down the SLI Layer. 755 * uninitialization after the HBA is reset when bring down the SLI Layer.
756 * 756 *
757 * Return codes 757 * Return codes
758 * 0 - sucess. 758 * 0 - success.
759 * Any other value - error. 759 * Any other value - error.
760 **/ 760 **/
761int 761int
@@ -1254,7 +1254,7 @@ lpfc_handle_eratt_s4(struct lpfc_hba *phba)
1254 * routine from the API jump table function pointer from the lpfc_hba struct. 1254 * routine from the API jump table function pointer from the lpfc_hba struct.
1255 * 1255 *
1256 * Return codes 1256 * Return codes
1257 * 0 - sucess. 1257 * 0 - success.
1258 * Any other value - error. 1258 * Any other value - error.
1259 **/ 1259 **/
1260void 1260void
@@ -3124,7 +3124,7 @@ static void lpfc_log_intr_mode(struct lpfc_hba *phba, uint32_t intr_mode)
3124 * PCI devices. 3124 * PCI devices.
3125 * 3125 *
3126 * Return codes 3126 * Return codes
3127 * 0 - sucessful 3127 * 0 - successful
3128 * other values - error 3128 * other values - error
3129 **/ 3129 **/
3130static int 3130static int
@@ -3220,7 +3220,7 @@ lpfc_reset_hba(struct lpfc_hba *phba)
3220 * support the SLI-3 HBA device it attached to. 3220 * support the SLI-3 HBA device it attached to.
3221 * 3221 *
3222 * Return codes 3222 * Return codes
3223 * 0 - sucessful 3223 * 0 - successful
3224 * other values - error 3224 * other values - error
3225 **/ 3225 **/
3226static int 3226static int
@@ -3321,7 +3321,7 @@ lpfc_sli_driver_resource_unset(struct lpfc_hba *phba)
3321 * support the SLI-4 HBA device it attached to. 3321 * support the SLI-4 HBA device it attached to.
3322 * 3322 *
3323 * Return codes 3323 * Return codes
3324 * 0 - sucessful 3324 * 0 - successful
3325 * other values - error 3325 * other values - error
3326 **/ 3326 **/
3327static int 3327static int
@@ -3642,7 +3642,7 @@ lpfc_init_api_table_setup(struct lpfc_hba *phba, uint8_t dev_grp)
3642 * device specific resource setup to support the HBA device it attached to. 3642 * device specific resource setup to support the HBA device it attached to.
3643 * 3643 *
3644 * Return codes 3644 * Return codes
3645 * 0 - sucessful 3645 * 0 - successful
3646 * other values - error 3646 * other values - error
3647 **/ 3647 **/
3648static int 3648static int
@@ -3688,7 +3688,7 @@ lpfc_setup_driver_resource_phase1(struct lpfc_hba *phba)
3688 * device specific resource setup to support the HBA device it attached to. 3688 * device specific resource setup to support the HBA device it attached to.
3689 * 3689 *
3690 * Return codes 3690 * Return codes
3691 * 0 - sucessful 3691 * 0 - successful
3692 * other values - error 3692 * other values - error
3693 **/ 3693 **/
3694static int 3694static int
@@ -3753,7 +3753,7 @@ lpfc_free_iocb_list(struct lpfc_hba *phba)
3753 * list and set up the IOCB tag array accordingly. 3753 * list and set up the IOCB tag array accordingly.
3754 * 3754 *
3755 * Return codes 3755 * Return codes
3756 * 0 - sucessful 3756 * 0 - successful
3757 * other values - error 3757 * other values - error
3758 **/ 3758 **/
3759static int 3759static int
@@ -3872,7 +3872,7 @@ lpfc_free_active_sgl(struct lpfc_hba *phba)
3872 * list and set up the sgl xritag tag array accordingly. 3872 * list and set up the sgl xritag tag array accordingly.
3873 * 3873 *
3874 * Return codes 3874 * Return codes
3875 * 0 - sucessful 3875 * 0 - successful
3876 * other values - error 3876 * other values - error
3877 **/ 3877 **/
3878static int 3878static int
@@ -3986,7 +3986,7 @@ out_free_mem:
3986 * enabled and the driver is reinitializing the device. 3986 * enabled and the driver is reinitializing the device.
3987 * 3987 *
3988 * Return codes 3988 * Return codes
3989 * 0 - sucessful 3989 * 0 - successful
3990 * ENOMEM - No availble memory 3990 * ENOMEM - No availble memory
3991 * EIO - The mailbox failed to complete successfully. 3991 * EIO - The mailbox failed to complete successfully.
3992 **/ 3992 **/
@@ -4146,7 +4146,7 @@ lpfc_sli4_remove_rpi_hdrs(struct lpfc_hba *phba)
4146 * PCI device data structure is set. 4146 * PCI device data structure is set.
4147 * 4147 *
4148 * Return codes 4148 * Return codes
4149 * pointer to @phba - sucessful 4149 * pointer to @phba - successful
4150 * NULL - error 4150 * NULL - error
4151 **/ 4151 **/
4152static struct lpfc_hba * 4152static struct lpfc_hba *
@@ -4202,7 +4202,7 @@ lpfc_hba_free(struct lpfc_hba *phba)
4202 * host with it. 4202 * host with it.
4203 * 4203 *
4204 * Return codes 4204 * Return codes
4205 * 0 - sucessful 4205 * 0 - successful
4206 * other values - error 4206 * other values - error
4207 **/ 4207 **/
4208static int 4208static int
@@ -4365,7 +4365,7 @@ lpfc_post_init_setup(struct lpfc_hba *phba)
4365 * with SLI-3 interface spec. 4365 * with SLI-3 interface spec.
4366 * 4366 *
4367 * Return codes 4367 * Return codes
4368 * 0 - sucessful 4368 * 0 - successful
4369 * other values - error 4369 * other values - error
4370 **/ 4370 **/
4371static int 4371static int
@@ -4662,7 +4662,7 @@ lpfc_sli4_bar2_register_memmap(struct lpfc_hba *phba, uint32_t vf)
4662 * this routine. 4662 * this routine.
4663 * 4663 *
4664 * Return codes 4664 * Return codes
4665 * 0 - sucessful 4665 * 0 - successful
4666 * ENOMEM - could not allocated memory. 4666 * ENOMEM - could not allocated memory.
4667 **/ 4667 **/
4668static int 4668static int
@@ -4761,7 +4761,7 @@ lpfc_destroy_bootstrap_mbox(struct lpfc_hba *phba)
4761 * allocation for the port. 4761 * allocation for the port.
4762 * 4762 *
4763 * Return codes 4763 * Return codes
4764 * 0 - sucessful 4764 * 0 - successful
4765 * ENOMEM - No availble memory 4765 * ENOMEM - No availble memory
4766 * EIO - The mailbox failed to complete successfully. 4766 * EIO - The mailbox failed to complete successfully.
4767 **/ 4767 **/
@@ -4861,7 +4861,7 @@ lpfc_sli4_read_config(struct lpfc_hba *phba)
4861 * HBA consistent with the SLI-4 interface spec. 4861 * HBA consistent with the SLI-4 interface spec.
4862 * 4862 *
4863 * Return codes 4863 * Return codes
4864 * 0 - sucessful 4864 * 0 - successful
4865 * ENOMEM - No availble memory 4865 * ENOMEM - No availble memory
4866 * EIO - The mailbox failed to complete successfully. 4866 * EIO - The mailbox failed to complete successfully.
4867 **/ 4867 **/
@@ -4910,7 +4910,7 @@ lpfc_setup_endian_order(struct lpfc_hba *phba)
4910 * we just use some constant number as place holder. 4910 * we just use some constant number as place holder.
4911 * 4911 *
4912 * Return codes 4912 * Return codes
4913 * 0 - sucessful 4913 * 0 - successful
4914 * ENOMEM - No availble memory 4914 * ENOMEM - No availble memory
4915 * EIO - The mailbox failed to complete successfully. 4915 * EIO - The mailbox failed to complete successfully.
4916 **/ 4916 **/
@@ -5218,7 +5218,7 @@ out_error:
5218 * operation. 5218 * operation.
5219 * 5219 *
5220 * Return codes 5220 * Return codes
5221 * 0 - sucessful 5221 * 0 - successful
5222 * ENOMEM - No availble memory 5222 * ENOMEM - No availble memory
5223 * EIO - The mailbox failed to complete successfully. 5223 * EIO - The mailbox failed to complete successfully.
5224 **/ 5224 **/
@@ -5286,7 +5286,7 @@ lpfc_sli4_queue_destroy(struct lpfc_hba *phba)
5286 * operation. 5286 * operation.
5287 * 5287 *
5288 * Return codes 5288 * Return codes
5289 * 0 - sucessful 5289 * 0 - successful
5290 * ENOMEM - No availble memory 5290 * ENOMEM - No availble memory
5291 * EIO - The mailbox failed to complete successfully. 5291 * EIO - The mailbox failed to complete successfully.
5292 **/ 5292 **/
@@ -5552,7 +5552,7 @@ out_error:
5552 * operation. 5552 * operation.
5553 * 5553 *
5554 * Return codes 5554 * Return codes
5555 * 0 - sucessful 5555 * 0 - successful
5556 * ENOMEM - No availble memory 5556 * ENOMEM - No availble memory
5557 * EIO - The mailbox failed to complete successfully. 5557 * EIO - The mailbox failed to complete successfully.
5558 **/ 5558 **/
@@ -5599,7 +5599,7 @@ lpfc_sli4_queue_unset(struct lpfc_hba *phba)
5599 * Later, this can be used for all the slow-path events. 5599 * Later, this can be used for all the slow-path events.
5600 * 5600 *
5601 * Return codes 5601 * Return codes
5602 * 0 - sucessful 5602 * 0 - successful
5603 * -ENOMEM - No availble memory 5603 * -ENOMEM - No availble memory
5604 **/ 5604 **/
5605static int 5605static int
@@ -5760,7 +5760,7 @@ lpfc_sli4_cq_event_release_all(struct lpfc_hba *phba)
5760 * all resources assigned to the PCI function which originates this request. 5760 * all resources assigned to the PCI function which originates this request.
5761 * 5761 *
5762 * Return codes 5762 * Return codes
5763 * 0 - sucessful 5763 * 0 - successful
5764 * ENOMEM - No availble memory 5764 * ENOMEM - No availble memory
5765 * EIO - The mailbox failed to complete successfully. 5765 * EIO - The mailbox failed to complete successfully.
5766 **/ 5766 **/
@@ -5923,7 +5923,7 @@ lpfc_sli4_fcfi_unreg(struct lpfc_hba *phba, uint16_t fcfi)
5923 * with SLI-4 interface spec. 5923 * with SLI-4 interface spec.
5924 * 5924 *
5925 * Return codes 5925 * Return codes
5926 * 0 - sucessful 5926 * 0 - successful
5927 * other values - error 5927 * other values - error
5928 **/ 5928 **/
5929static int 5929static int
@@ -6052,7 +6052,7 @@ lpfc_sli4_pci_mem_unset(struct lpfc_hba *phba)
6052 * will be left with MSI-X enabled and leaks its vectors. 6052 * will be left with MSI-X enabled and leaks its vectors.
6053 * 6053 *
6054 * Return codes 6054 * Return codes
6055 * 0 - sucessful 6055 * 0 - successful
6056 * other values - error 6056 * other values - error
6057 **/ 6057 **/
6058static int 6058static int
@@ -6184,7 +6184,7 @@ lpfc_sli_disable_msix(struct lpfc_hba *phba)
6184 * is done in this function. 6184 * is done in this function.
6185 * 6185 *
6186 * Return codes 6186 * Return codes
6187 * 0 - sucessful 6187 * 0 - successful
6188 * other values - error 6188 * other values - error
6189 */ 6189 */
6190static int 6190static int
@@ -6243,7 +6243,7 @@ lpfc_sli_disable_msi(struct lpfc_hba *phba)
6243 * MSI-X -> MSI -> IRQ. 6243 * MSI-X -> MSI -> IRQ.
6244 * 6244 *
6245 * Return codes 6245 * Return codes
6246 * 0 - sucessful 6246 * 0 - successful
6247 * other values - error 6247 * other values - error
6248 **/ 6248 **/
6249static uint32_t 6249static uint32_t
@@ -6333,7 +6333,7 @@ lpfc_sli_disable_intr(struct lpfc_hba *phba)
6333 * enabled and leaks its vectors. 6333 * enabled and leaks its vectors.
6334 * 6334 *
6335 * Return codes 6335 * Return codes
6336 * 0 - sucessful 6336 * 0 - successful
6337 * other values - error 6337 * other values - error
6338 **/ 6338 **/
6339static int 6339static int
@@ -6443,7 +6443,7 @@ lpfc_sli4_disable_msix(struct lpfc_hba *phba)
6443 * which is done in this function. 6443 * which is done in this function.
6444 * 6444 *
6445 * Return codes 6445 * Return codes
6446 * 0 - sucessful 6446 * 0 - successful
6447 * other values - error 6447 * other values - error
6448 **/ 6448 **/
6449static int 6449static int
@@ -6508,7 +6508,7 @@ lpfc_sli4_disable_msi(struct lpfc_hba *phba)
6508 * MSI-X -> MSI -> IRQ. 6508 * MSI-X -> MSI -> IRQ.
6509 * 6509 *
6510 * Return codes 6510 * Return codes
6511 * 0 - sucessful 6511 * 0 - successful
6512 * other values - error 6512 * other values - error
6513 **/ 6513 **/
6514static uint32_t 6514static uint32_t
diff --git a/drivers/scsi/lpfc/lpfc_sli.c b/drivers/scsi/lpfc/lpfc_sli.c
index 43cbe336f1f8..42d4f3dae1d6 100644
--- a/drivers/scsi/lpfc/lpfc_sli.c
+++ b/drivers/scsi/lpfc/lpfc_sli.c
@@ -1794,7 +1794,7 @@ lpfc_sli_handle_mb_event(struct lpfc_hba *phba)
1794 */ 1794 */
1795 if (lpfc_sli_chk_mbx_command(pmbox->mbxCommand) == 1795 if (lpfc_sli_chk_mbx_command(pmbox->mbxCommand) ==
1796 MBX_SHUTDOWN) { 1796 MBX_SHUTDOWN) {
1797 /* Unknow mailbox command compl */ 1797 /* Unknown mailbox command compl */
1798 lpfc_printf_log(phba, KERN_ERR, LOG_MBOX | LOG_SLI, 1798 lpfc_printf_log(phba, KERN_ERR, LOG_MBOX | LOG_SLI,
1799 "(%d):0323 Unknown Mailbox command " 1799 "(%d):0323 Unknown Mailbox command "
1800 "x%x (x%x) Cmpl\n", 1800 "x%x (x%x) Cmpl\n",
@@ -4163,7 +4163,7 @@ lpfc_sli4_read_fcoe_params(struct lpfc_hba *phba,
4163 * addition, this routine gets the port vpd data. 4163 * addition, this routine gets the port vpd data.
4164 * 4164 *
4165 * Return codes 4165 * Return codes
4166 * 0 - sucessful 4166 * 0 - successful
4167 * ENOMEM - could not allocated memory. 4167 * ENOMEM - could not allocated memory.
4168 **/ 4168 **/
4169static int 4169static int
@@ -11091,7 +11091,7 @@ lpfc_sli4_handle_received_buffer(struct lpfc_hba *phba)
11091 * sequential. 11091 * sequential.
11092 * 11092 *
11093 * Return codes 11093 * Return codes
11094 * 0 - sucessful 11094 * 0 - successful
11095 * EIO - The mailbox failed to complete successfully. 11095 * EIO - The mailbox failed to complete successfully.
11096 * When this error occurs, the driver is not guaranteed 11096 * When this error occurs, the driver is not guaranteed
11097 * to have any rpi regions posted to the device and 11097 * to have any rpi regions posted to the device and
@@ -11129,7 +11129,7 @@ lpfc_sli4_post_all_rpi_hdrs(struct lpfc_hba *phba)
11129 * maps up to 64 rpi context regions. 11129 * maps up to 64 rpi context regions.
11130 * 11130 *
11131 * Return codes 11131 * Return codes
11132 * 0 - sucessful 11132 * 0 - successful
11133 * ENOMEM - No available memory 11133 * ENOMEM - No available memory
11134 * EIO - The mailbox failed to complete successfully. 11134 * EIO - The mailbox failed to complete successfully.
11135 **/ 11135 **/
@@ -11191,7 +11191,7 @@ lpfc_sli4_post_rpi_hdr(struct lpfc_hba *phba, struct lpfc_rpi_hdr *rpi_page)
11191 * PAGE_SIZE modulo 64 rpi context headers. 11191 * PAGE_SIZE modulo 64 rpi context headers.
11192 * 11192 *
11193 * Returns 11193 * Returns
11194 * A nonzero rpi defined as rpi_base <= rpi < max_rpi if sucessful 11194 * A nonzero rpi defined as rpi_base <= rpi < max_rpi if successful
11195 * LPFC_RPI_ALLOC_ERROR if no rpis are available. 11195 * LPFC_RPI_ALLOC_ERROR if no rpis are available.
11196 **/ 11196 **/
11197int 11197int