aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/advansys.c2
-rw-r--r--drivers/scsi/aic7xxx_old/aic7xxx.seq2
-rw-r--r--drivers/scsi/aic94xx/aic94xx_seq.c4
-rw-r--r--drivers/scsi/bfa/bfa_core.c2
-rw-r--r--drivers/scsi/bfa/bfa_fcs.c10
-rw-r--r--drivers/scsi/bfa/bfa_ioim.c2
-rw-r--r--drivers/scsi/bfa/vport.c2
-rw-r--r--drivers/scsi/fcoe/fcoe.c4
-rw-r--r--drivers/scsi/libfc/fc_exch.c4
-rw-r--r--drivers/scsi/libfc/fc_lport.c6
-rw-r--r--drivers/scsi/libfc/fc_rport.c2
-rw-r--r--drivers/scsi/mpt2sas/mpt2sas_base.h2
-rw-r--r--drivers/scsi/mpt2sas/mpt2sas_scsih.c4
-rw-r--r--drivers/scsi/pm8001/pm8001_hwi.c4
-rw-r--r--drivers/scsi/qla2xxx/qla_iocb.c2
-rw-r--r--drivers/scsi/qla2xxx/qla_nx.h2
-rw-r--r--drivers/scsi/qla4xxx/ql4_init.c2
-rw-r--r--drivers/scsi/scsi_transport_fc.c2
18 files changed, 27 insertions, 31 deletions
diff --git a/drivers/scsi/advansys.c b/drivers/scsi/advansys.c
index 7f87979da22d..0ec3da6f3e12 100644
--- a/drivers/scsi/advansys.c
+++ b/drivers/scsi/advansys.c
@@ -9717,7 +9717,7 @@ static ushort __devinit AscInitAscDvcVar(ASC_DVC_VAR *asc_dvc)
9717 asc_dvc->bug_fix_cntl = 0; 9717 asc_dvc->bug_fix_cntl = 0;
9718 asc_dvc->pci_fix_asyn_xfer = 0; 9718 asc_dvc->pci_fix_asyn_xfer = 0;
9719 asc_dvc->pci_fix_asyn_xfer_always = 0; 9719 asc_dvc->pci_fix_asyn_xfer_always = 0;
9720 /* asc_dvc->init_state initalized in AscInitGetConfig(). */ 9720 /* asc_dvc->init_state initialized in AscInitGetConfig(). */
9721 asc_dvc->sdtr_done = 0; 9721 asc_dvc->sdtr_done = 0;
9722 asc_dvc->cur_total_qng = 0; 9722 asc_dvc->cur_total_qng = 0;
9723 asc_dvc->is_in_int = 0; 9723 asc_dvc->is_in_int = 0;
diff --git a/drivers/scsi/aic7xxx_old/aic7xxx.seq b/drivers/scsi/aic7xxx_old/aic7xxx.seq
index f6fc4b75b5a5..5997e7c3a191 100644
--- a/drivers/scsi/aic7xxx_old/aic7xxx.seq
+++ b/drivers/scsi/aic7xxx_old/aic7xxx.seq
@@ -615,7 +615,7 @@ ultra2_dmafifoflush:
615 * went empty and the next bit of data is copied from 615 * went empty and the next bit of data is copied from
616 * the SCSI fifo into the PCI fifo. It should only 616 * the SCSI fifo into the PCI fifo. It should only
617 * come on when both FIFOs (meaning the entire FIFO 617 * come on when both FIFOs (meaning the entire FIFO
618 * chain) are emtpy. Since it can take up to 4 cycles 618 * chain) are empty. Since it can take up to 4 cycles
619 * for new data to be copied from the SCSI fifo into 619 * for new data to be copied from the SCSI fifo into
620 * the PCI fifo, testing for FIFOEMP status for 4 620 * the PCI fifo, testing for FIFOEMP status for 4
621 * extra times gives the needed time for any 621 * extra times gives the needed time for any
diff --git a/drivers/scsi/aic94xx/aic94xx_seq.c b/drivers/scsi/aic94xx/aic94xx_seq.c
index d01dcc62b39a..74374618010c 100644
--- a/drivers/scsi/aic94xx/aic94xx_seq.c
+++ b/drivers/scsi/aic94xx/aic94xx_seq.c
@@ -588,7 +588,7 @@ static void asd_init_cseq_mdp(struct asd_ha_struct *asd_ha)
588 * asd_init_cseq_scratch -- setup and init CSEQ 588 * asd_init_cseq_scratch -- setup and init CSEQ
589 * @asd_ha: pointer to host adapter structure 589 * @asd_ha: pointer to host adapter structure
590 * 590 *
591 * Setup and initialize Central sequencers. Initialiaze the mode 591 * Setup and initialize Central sequencers. Initialize the mode
592 * independent and dependent scratch page to the default settings. 592 * independent and dependent scratch page to the default settings.
593 */ 593 */
594static void asd_init_cseq_scratch(struct asd_ha_struct *asd_ha) 594static void asd_init_cseq_scratch(struct asd_ha_struct *asd_ha)
@@ -782,7 +782,7 @@ static void asd_init_lseq_mdp(struct asd_ha_struct *asd_ha, int lseq)
782 asd_write_reg_word(asd_ha, LmSEQ_OOB_INT_ENABLES(lseq), 0); 782 asd_write_reg_word(asd_ha, LmSEQ_OOB_INT_ENABLES(lseq), 0);
783 /* 783 /*
784 * Set the desired interval between transmissions of the NOTIFY 784 * Set the desired interval between transmissions of the NOTIFY
785 * (ENABLE SPINUP) primitive. Must be initilized to val - 1. 785 * (ENABLE SPINUP) primitive. Must be initialized to val - 1.
786 */ 786 */
787 asd_write_reg_word(asd_ha, LmSEQ_NOTIFY_TIMER_TIMEOUT(lseq), 787 asd_write_reg_word(asd_ha, LmSEQ_NOTIFY_TIMER_TIMEOUT(lseq),
788 ASD_NOTIFY_TIMEOUT - 1); 788 ASD_NOTIFY_TIMEOUT - 1);
diff --git a/drivers/scsi/bfa/bfa_core.c b/drivers/scsi/bfa/bfa_core.c
index 3a7b3f88932f..d84550636add 100644
--- a/drivers/scsi/bfa/bfa_core.c
+++ b/drivers/scsi/bfa/bfa_core.c
@@ -335,7 +335,7 @@ bfa_get_pciids(struct bfa_pciid_s **pciids, int *npciids)
335 {BFA_PCI_VENDOR_ID_BROCADE, BFA_PCI_DEVICE_ID_CT}, 335 {BFA_PCI_VENDOR_ID_BROCADE, BFA_PCI_DEVICE_ID_CT},
336 }; 336 };
337 337
338 *npciids = sizeof(__pciids) / sizeof(__pciids[0]); 338 *npciids = ARRAY_SIZE(__pciids);
339 *pciids = __pciids; 339 *pciids = __pciids;
340} 340}
341 341
diff --git a/drivers/scsi/bfa/bfa_fcs.c b/drivers/scsi/bfa/bfa_fcs.c
index 3516172c597c..153cb2a3ffe3 100644
--- a/drivers/scsi/bfa/bfa_fcs.c
+++ b/drivers/scsi/bfa/bfa_fcs.c
@@ -86,7 +86,7 @@ bfa_fcs_attach(struct bfa_fcs_s *fcs, struct bfa_s *bfa, struct bfad_s *bfad,
86 bfa_attach_fcs(bfa); 86 bfa_attach_fcs(bfa);
87 fcbuild_init(); 87 fcbuild_init();
88 88
89 for (i = 0; i < sizeof(fcs_modules) / sizeof(fcs_modules[0]); i++) { 89 for (i = 0; i < ARRAY_SIZE(fcs_modules); i++) {
90 mod = &fcs_modules[i]; 90 mod = &fcs_modules[i];
91 if (mod->attach) 91 if (mod->attach)
92 mod->attach(fcs); 92 mod->attach(fcs);
@@ -102,7 +102,7 @@ bfa_fcs_init(struct bfa_fcs_s *fcs)
102 int i; 102 int i;
103 struct bfa_fcs_mod_s *mod; 103 struct bfa_fcs_mod_s *mod;
104 104
105 for (i = 0; i < sizeof(fcs_modules) / sizeof(fcs_modules[0]); i++) { 105 for (i = 0; i < ARRAY_SIZE(fcs_modules); i++) {
106 mod = &fcs_modules[i]; 106 mod = &fcs_modules[i];
107 if (mod->modinit) 107 if (mod->modinit)
108 mod->modinit(fcs); 108 mod->modinit(fcs);
@@ -163,13 +163,11 @@ void
163bfa_fcs_exit(struct bfa_fcs_s *fcs) 163bfa_fcs_exit(struct bfa_fcs_s *fcs)
164{ 164{
165 struct bfa_fcs_mod_s *mod; 165 struct bfa_fcs_mod_s *mod;
166 int nmods, i; 166 int i;
167 167
168 bfa_wc_init(&fcs->wc, bfa_fcs_exit_comp, fcs); 168 bfa_wc_init(&fcs->wc, bfa_fcs_exit_comp, fcs);
169 169
170 nmods = sizeof(fcs_modules) / sizeof(fcs_modules[0]); 170 for (i = 0; i < ARRAY_SIZE(fcs_modules); i++) {
171
172 for (i = 0; i < nmods; i++) {
173 171
174 mod = &fcs_modules[i]; 172 mod = &fcs_modules[i];
175 if (mod->modexit) { 173 if (mod->modexit) {
diff --git a/drivers/scsi/bfa/bfa_ioim.c b/drivers/scsi/bfa/bfa_ioim.c
index 687f3d6e252b..3d2eac104308 100644
--- a/drivers/scsi/bfa/bfa_ioim.c
+++ b/drivers/scsi/bfa/bfa_ioim.c
@@ -488,7 +488,7 @@ bfa_ioim_sm_cleanup_qfull(struct bfa_ioim_s *ioim, enum bfa_ioim_event event)
488 488
489 case BFA_IOIM_SM_ABORT: 489 case BFA_IOIM_SM_ABORT:
490 /** 490 /**
491 * IO is alraedy being cleaned up implicitly 491 * IO is already being cleaned up implicitly
492 */ 492 */
493 ioim->io_cbfn = __bfa_cb_ioim_abort; 493 ioim->io_cbfn = __bfa_cb_ioim_abort;
494 break; 494 break;
diff --git a/drivers/scsi/bfa/vport.c b/drivers/scsi/bfa/vport.c
index 27cd619a227a..e2720c8a6661 100644
--- a/drivers/scsi/bfa/vport.c
+++ b/drivers/scsi/bfa/vport.c
@@ -789,7 +789,7 @@ bfa_cb_lps_fdisc_comp(void *bfad, void *uarg, bfa_status_t status)
789 switch (status) { 789 switch (status) {
790 case BFA_STATUS_OK: 790 case BFA_STATUS_OK:
791 /* 791 /*
792 * Initialiaze the V-Port fields 792 * Initialize the V-Port fields
793 */ 793 */
794 __vport_fcid(vport) = bfa_lps_get_pid(vport->lps); 794 __vport_fcid(vport) = bfa_lps_get_pid(vport->lps);
795 vport->vport_stats.fdisc_accepts++; 795 vport->vport_stats.fdisc_accepts++;
diff --git a/drivers/scsi/fcoe/fcoe.c b/drivers/scsi/fcoe/fcoe.c
index 44a07593de56..fe568effe967 100644
--- a/drivers/scsi/fcoe/fcoe.c
+++ b/drivers/scsi/fcoe/fcoe.c
@@ -2452,7 +2452,7 @@ module_exit(fcoe_exit);
2452 * @fp: response frame, or error encoded in a pointer (timeout) 2452 * @fp: response frame, or error encoded in a pointer (timeout)
2453 * @arg: pointer the the fcoe_ctlr structure 2453 * @arg: pointer the the fcoe_ctlr structure
2454 * 2454 *
2455 * This handles MAC address managment for FCoE, then passes control on to 2455 * This handles MAC address management for FCoE, then passes control on to
2456 * the libfc FLOGI response handler. 2456 * the libfc FLOGI response handler.
2457 */ 2457 */
2458static void fcoe_flogi_resp(struct fc_seq *seq, struct fc_frame *fp, void *arg) 2458static void fcoe_flogi_resp(struct fc_seq *seq, struct fc_frame *fp, void *arg)
@@ -2484,7 +2484,7 @@ done:
2484 * @fp: response frame, or error encoded in a pointer (timeout) 2484 * @fp: response frame, or error encoded in a pointer (timeout)
2485 * @arg: pointer the the fcoe_ctlr structure 2485 * @arg: pointer the the fcoe_ctlr structure
2486 * 2486 *
2487 * This handles MAC address managment for FCoE, then passes control on to 2487 * This handles MAC address management for FCoE, then passes control on to
2488 * the libfc LOGO response handler. 2488 * the libfc LOGO response handler.
2489 */ 2489 */
2490static void fcoe_logo_resp(struct fc_seq *seq, struct fc_frame *fp, void *arg) 2490static void fcoe_logo_resp(struct fc_seq *seq, struct fc_frame *fp, void *arg)
diff --git a/drivers/scsi/libfc/fc_exch.c b/drivers/scsi/libfc/fc_exch.c
index 104e0fba7c43..ca52bfa4a1ec 100644
--- a/drivers/scsi/libfc/fc_exch.c
+++ b/drivers/scsi/libfc/fc_exch.c
@@ -219,8 +219,6 @@ static void fc_exch_els_rrq(struct fc_seq *, struct fc_frame *);
219 */ 219 */
220static char *fc_exch_rctl_names[] = FC_RCTL_NAMES_INIT; 220static char *fc_exch_rctl_names[] = FC_RCTL_NAMES_INIT;
221 221
222#define FC_TABLE_SIZE(x) (sizeof(x) / sizeof(x[0]))
223
224/** 222/**
225 * fc_exch_name_lookup() - Lookup name by opcode 223 * fc_exch_name_lookup() - Lookup name by opcode
226 * @op: Opcode to be looked up 224 * @op: Opcode to be looked up
@@ -249,7 +247,7 @@ static inline const char *fc_exch_name_lookup(unsigned int op, char **table,
249static const char *fc_exch_rctl_name(unsigned int op) 247static const char *fc_exch_rctl_name(unsigned int op)
250{ 248{
251 return fc_exch_name_lookup(op, fc_exch_rctl_names, 249 return fc_exch_name_lookup(op, fc_exch_rctl_names,
252 FC_TABLE_SIZE(fc_exch_rctl_names)); 250 ARRAY_SIZE(fc_exch_rctl_names));
253} 251}
254 252
255/** 253/**
diff --git a/drivers/scsi/libfc/fc_lport.c b/drivers/scsi/libfc/fc_lport.c
index 79c9e3ccd341..ef32b065a47f 100644
--- a/drivers/scsi/libfc/fc_lport.c
+++ b/drivers/scsi/libfc/fc_lport.c
@@ -32,11 +32,11 @@
32 * invalid SID. We also need to ensure that states don't change unexpectedly 32 * invalid SID. We also need to ensure that states don't change unexpectedly
33 * while processing another state. 33 * while processing another state.
34 * 34 *
35 * HEIRARCHY 35 * HIERARCHY
36 * 36 *
37 * The following heirarchy defines the locking rules. A greater lock 37 * The following hierarchy defines the locking rules. A greater lock
38 * may be held before acquiring a lesser lock, but a lesser lock should never 38 * may be held before acquiring a lesser lock, but a lesser lock should never
39 * be held while attempting to acquire a greater lock. Here is the heirarchy- 39 * be held while attempting to acquire a greater lock. Here is the hierarchy-
40 * 40 *
41 * lport > disc, lport > rport, disc > rport 41 * lport > disc, lport > rport, disc > rport
42 * 42 *
diff --git a/drivers/scsi/libfc/fc_rport.c b/drivers/scsi/libfc/fc_rport.c
index 39e440f0f54a..2aa599340106 100644
--- a/drivers/scsi/libfc/fc_rport.c
+++ b/drivers/scsi/libfc/fc_rport.c
@@ -34,7 +34,7 @@
34 * The rport should never hold the rport mutex and then attempt to acquire 34 * The rport should never hold the rport mutex and then attempt to acquire
35 * either the lport or disc mutexes. The rport's mutex is considered lesser 35 * either the lport or disc mutexes. The rport's mutex is considered lesser
36 * than both the lport's mutex and the disc mutex. Refer to fc_lport.c for 36 * than both the lport's mutex and the disc mutex. Refer to fc_lport.c for
37 * more comments on the heirarchy. 37 * more comments on the hierarchy.
38 * 38 *
39 * The locking strategy is similar to the lport's strategy. The lock protects 39 * The locking strategy is similar to the lport's strategy. The lock protects
40 * the rport's states and is held and released by the entry points to the rport 40 * the rport's states and is held and released by the entry points to the rport
diff --git a/drivers/scsi/mpt2sas/mpt2sas_base.h b/drivers/scsi/mpt2sas/mpt2sas_base.h
index b4afe431ac1e..41c29a86e834 100644
--- a/drivers/scsi/mpt2sas/mpt2sas_base.h
+++ b/drivers/scsi/mpt2sas/mpt2sas_base.h
@@ -474,7 +474,7 @@ typedef void (*MPT_ADD_SGE)(void *paddr, u32 flags_length, dma_addr_t dma_addr);
474 * @shost_recovery: host reset in progress 474 * @shost_recovery: host reset in progress
475 * @ioc_reset_in_progress_lock: 475 * @ioc_reset_in_progress_lock:
476 * @ioc_link_reset_in_progress: phy/hard reset in progress 476 * @ioc_link_reset_in_progress: phy/hard reset in progress
477 * @ignore_loginfos: ignore loginfos during task managment 477 * @ignore_loginfos: ignore loginfos during task management
478 * @remove_host: flag for when driver unloads, to avoid sending dev resets 478 * @remove_host: flag for when driver unloads, to avoid sending dev resets
479 * @wait_for_port_enable_to_complete: 479 * @wait_for_port_enable_to_complete:
480 * @msix_enable: flag indicating msix is enabled 480 * @msix_enable: flag indicating msix is enabled
diff --git a/drivers/scsi/mpt2sas/mpt2sas_scsih.c b/drivers/scsi/mpt2sas/mpt2sas_scsih.c
index c5ff26a2a51d..06d645a36f1b 100644
--- a/drivers/scsi/mpt2sas/mpt2sas_scsih.c
+++ b/drivers/scsi/mpt2sas/mpt2sas_scsih.c
@@ -2979,7 +2979,7 @@ _scsih_qcmd(struct scsi_cmnd *scmd, void (*done)(struct scsi_cmnd *))
2979 /* host recovery or link resets sent via IOCTLs */ 2979 /* host recovery or link resets sent via IOCTLs */
2980 if (ioc->shost_recovery || ioc->ioc_link_reset_in_progress) 2980 if (ioc->shost_recovery || ioc->ioc_link_reset_in_progress)
2981 return SCSI_MLQUEUE_HOST_BUSY; 2981 return SCSI_MLQUEUE_HOST_BUSY;
2982 /* device busy with task managment */ 2982 /* device busy with task management */
2983 else if (sas_device_priv_data->block || sas_target_priv_data->tm_busy) 2983 else if (sas_device_priv_data->block || sas_target_priv_data->tm_busy)
2984 return SCSI_MLQUEUE_DEVICE_BUSY; 2984 return SCSI_MLQUEUE_DEVICE_BUSY;
2985 /* device has been deleted */ 2985 /* device has been deleted */
@@ -6845,7 +6845,7 @@ _scsih_init(void)
6845 /* queuecommand callback hander */ 6845 /* queuecommand callback hander */
6846 scsi_io_cb_idx = mpt2sas_base_register_callback_handler(_scsih_io_done); 6846 scsi_io_cb_idx = mpt2sas_base_register_callback_handler(_scsih_io_done);
6847 6847
6848 /* task managment callback handler */ 6848 /* task management callback handler */
6849 tm_cb_idx = mpt2sas_base_register_callback_handler(_scsih_tm_done); 6849 tm_cb_idx = mpt2sas_base_register_callback_handler(_scsih_tm_done);
6850 6850
6851 /* base internal commands callback handler */ 6851 /* base internal commands callback handler */
diff --git a/drivers/scsi/pm8001/pm8001_hwi.c b/drivers/scsi/pm8001/pm8001_hwi.c
index 5ff8261c5d67..e81efac25fa4 100644
--- a/drivers/scsi/pm8001/pm8001_hwi.c
+++ b/drivers/scsi/pm8001/pm8001_hwi.c
@@ -1082,7 +1082,7 @@ static void pm8001_hw_chip_rst(struct pm8001_hba_info *pm8001_ha)
1082} 1082}
1083 1083
1084/** 1084/**
1085 * pm8001_chip_iounmap - which maped when initilized. 1085 * pm8001_chip_iounmap - which maped when initialized.
1086 * @pm8001_ha: our hba card information 1086 * @pm8001_ha: our hba card information
1087 */ 1087 */
1088static void pm8001_chip_iounmap(struct pm8001_hba_info *pm8001_ha) 1088static void pm8001_chip_iounmap(struct pm8001_hba_info *pm8001_ha)
@@ -4152,7 +4152,7 @@ static int pm8001_chip_abort_task(struct pm8001_hba_info *pm8001_ha,
4152} 4152}
4153 4153
4154/** 4154/**
4155 * pm8001_chip_ssp_tm_req - built the task managment command. 4155 * pm8001_chip_ssp_tm_req - built the task management command.
4156 * @pm8001_ha: our hba card information. 4156 * @pm8001_ha: our hba card information.
4157 * @ccb: the ccb information. 4157 * @ccb: the ccb information.
4158 * @tmf: task management function. 4158 * @tmf: task management function.
diff --git a/drivers/scsi/qla2xxx/qla_iocb.c b/drivers/scsi/qla2xxx/qla_iocb.c
index 8ef945365412..782b30d0eea1 100644
--- a/drivers/scsi/qla2xxx/qla_iocb.c
+++ b/drivers/scsi/qla2xxx/qla_iocb.c
@@ -1129,7 +1129,7 @@ qla24xx_build_scsi_crc_2_iocbs(srb_t *sp, struct cmd_type_crc_2 *cmd_pkt,
1129 cmd_pkt->fcp_cmnd_dseg_address[1] = cpu_to_le32( 1129 cmd_pkt->fcp_cmnd_dseg_address[1] = cpu_to_le32(
1130 MSD(crc_ctx_dma + CRC_CONTEXT_FCPCMND_OFF)); 1130 MSD(crc_ctx_dma + CRC_CONTEXT_FCPCMND_OFF));
1131 fcp_cmnd->task_attribute = 0; 1131 fcp_cmnd->task_attribute = 0;
1132 fcp_cmnd->task_managment = 0; 1132 fcp_cmnd->task_management = 0;
1133 1133
1134 cmd_pkt->fcp_rsp_dseg_len = 0; /* Let response come in status iocb */ 1134 cmd_pkt->fcp_rsp_dseg_len = 0; /* Let response come in status iocb */
1135 1135
diff --git a/drivers/scsi/qla2xxx/qla_nx.h b/drivers/scsi/qla2xxx/qla_nx.h
index f8f99a5ea532..1b44d013f151 100644
--- a/drivers/scsi/qla2xxx/qla_nx.h
+++ b/drivers/scsi/qla2xxx/qla_nx.h
@@ -832,7 +832,7 @@ struct fcp_cmnd {
832 struct scsi_lun lun; 832 struct scsi_lun lun;
833 uint8_t crn; 833 uint8_t crn;
834 uint8_t task_attribute; 834 uint8_t task_attribute;
835 uint8_t task_managment; 835 uint8_t task_management;
836 uint8_t additional_cdb_len; 836 uint8_t additional_cdb_len;
837 uint8_t cdb[260]; /* 256 for CDB len and 4 for FCP_DL */ 837 uint8_t cdb[260]; /* 256 for CDB len and 4 for FCP_DL */
838}; 838};
diff --git a/drivers/scsi/qla4xxx/ql4_init.c b/drivers/scsi/qla4xxx/ql4_init.c
index 5510df8a7fa6..cd3043265a6d 100644
--- a/drivers/scsi/qla4xxx/ql4_init.c
+++ b/drivers/scsi/qla4xxx/ql4_init.c
@@ -183,7 +183,7 @@ static int qla4xxx_validate_mac_address(struct scsi_qla_host *ha)
183 **/ 183 **/
184static int qla4xxx_init_local_data(struct scsi_qla_host *ha) 184static int qla4xxx_init_local_data(struct scsi_qla_host *ha)
185{ 185{
186 /* Initilize aen queue */ 186 /* Initialize aen queue */
187 ha->aen_q_count = MAX_AEN_ENTRIES; 187 ha->aen_q_count = MAX_AEN_ENTRIES;
188 188
189 return qla4xxx_get_firmware_status(ha); 189 return qla4xxx_get_firmware_status(ha);
diff --git a/drivers/scsi/scsi_transport_fc.c b/drivers/scsi/scsi_transport_fc.c
index 06813789145c..edb6b362a8fa 100644
--- a/drivers/scsi/scsi_transport_fc.c
+++ b/drivers/scsi/scsi_transport_fc.c
@@ -965,7 +965,7 @@ static FC_DEVICE_ATTR(rport, fast_io_fail_tmo, S_IRUGO | S_IWUSR,
965 965
966/* 966/*
967 * Note: in the target show function we recognize when the remote 967 * Note: in the target show function we recognize when the remote
968 * port is in the heirarchy and do not allow the driver to get 968 * port is in the hierarchy and do not allow the driver to get
969 * involved in sysfs functions. The driver only gets involved if 969 * involved in sysfs functions. The driver only gets involved if
970 * it's the "old" style that doesn't use rports. 970 * it's the "old" style that doesn't use rports.
971 */ 971 */