diff options
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_init.c')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_init.c | 62 |
1 files changed, 31 insertions, 31 deletions
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 | **/ |
652 | static int | 652 | static 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 | **/ |
707 | static int | 707 | static 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 | **/ |
762 | int | 762 | int |
@@ -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 | **/ |
1268 | void | 1268 | void |
@@ -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 | **/ |
3240 | static int | 3240 | static 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 | **/ |
3336 | static int | 3336 | static 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 | **/ |
3437 | static int | 3437 | static 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 | **/ |
3764 | static int | 3764 | static 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 | **/ |
3810 | static int | 3810 | static 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 | **/ |
3875 | static int | 3875 | static 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 | **/ |
3994 | static int | 3994 | static 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 | **/ |
4268 | static struct lpfc_hba * | 4268 | static 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 | **/ |
4324 | static int | 4324 | static 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 | **/ |
4493 | static int | 4493 | static 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 | **/ |
4788 | static int | 4788 | static 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 | **/ |
5686 | static int | 5686 | static 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 | **/ |
6010 | static int | 6010 | static 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 | **/ |
6139 | static int | 6139 | static 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 | */ |
6271 | static int | 6271 | static 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 | **/ |
6330 | static uint32_t | 6330 | static 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 | **/ |
6420 | static int | 6420 | static 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 | **/ |
6530 | static int | 6530 | static 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 | **/ |
6595 | static uint32_t | 6595 | static uint32_t |