aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/a100u2w.c2
-rw-r--r--drivers/scsi/lpfc/lpfc_hbadisc.c4
-rw-r--r--drivers/scsi/lpfc/lpfc_sli.c10
-rw-r--r--drivers/scsi/megaraid.c4
-rw-r--r--drivers/scsi/qla1280.c4
-rw-r--r--drivers/scsi/qla4xxx/ql4_mbx.c2
-rw-r--r--drivers/scsi/scsi_error.c2
7 files changed, 14 insertions, 14 deletions
diff --git a/drivers/scsi/a100u2w.c b/drivers/scsi/a100u2w.c
index 3c298c7253ee..964769f66eac 100644
--- a/drivers/scsi/a100u2w.c
+++ b/drivers/scsi/a100u2w.c
@@ -633,7 +633,7 @@ static int orc_device_reset(struct orc_host * host, struct scsi_cmnd *cmd, unsig
633 return FAILED; 633 return FAILED;
634 } 634 }
635 635
636 /* Reset device is handled by the firmare, we fill in an SCB and 636 /* Reset device is handled by the firmware, we fill in an SCB and
637 fire it at the controller, it does the rest */ 637 fire it at the controller, it does the rest */
638 scb->opcode = ORC_BUSDEVRST; 638 scb->opcode = ORC_BUSDEVRST;
639 scb->target = target; 639 scb->target = target;
diff --git a/drivers/scsi/lpfc/lpfc_hbadisc.c b/drivers/scsi/lpfc/lpfc_hbadisc.c
index 8c64494444bf..311ed6dea726 100644
--- a/drivers/scsi/lpfc/lpfc_hbadisc.c
+++ b/drivers/scsi/lpfc/lpfc_hbadisc.c
@@ -1964,10 +1964,10 @@ lpfc_set_disctmo(struct lpfc_vport *vport)
1964 uint32_t tmo; 1964 uint32_t tmo;
1965 1965
1966 if (vport->port_state == LPFC_LOCAL_CFG_LINK) { 1966 if (vport->port_state == LPFC_LOCAL_CFG_LINK) {
1967 /* For FAN, timeout should be greater then edtov */ 1967 /* For FAN, timeout should be greater than edtov */
1968 tmo = (((phba->fc_edtov + 999) / 1000) + 1); 1968 tmo = (((phba->fc_edtov + 999) / 1000) + 1);
1969 } else { 1969 } else {
1970 /* Normal discovery timeout should be > then ELS/CT timeout 1970 /* Normal discovery timeout should be > than ELS/CT timeout
1971 * FC spec states we need 3 * ratov for CT requests 1971 * FC spec states we need 3 * ratov for CT requests
1972 */ 1972 */
1973 tmo = ((phba->fc_ratov * 3) + 3); 1973 tmo = ((phba->fc_ratov * 3) + 3);
diff --git a/drivers/scsi/lpfc/lpfc_sli.c b/drivers/scsi/lpfc/lpfc_sli.c
index 01dfdc8696f8..a36a120561e2 100644
--- a/drivers/scsi/lpfc/lpfc_sli.c
+++ b/drivers/scsi/lpfc/lpfc_sli.c
@@ -420,7 +420,7 @@ lpfc_sli_next_iocb_slot (struct lpfc_hba *phba, struct lpfc_sli_ring *pring)
420 if (unlikely(pring->local_getidx >= max_cmd_idx)) { 420 if (unlikely(pring->local_getidx >= max_cmd_idx)) {
421 lpfc_printf_log(phba, KERN_ERR, LOG_SLI, 421 lpfc_printf_log(phba, KERN_ERR, LOG_SLI,
422 "0315 Ring %d issue: portCmdGet %d " 422 "0315 Ring %d issue: portCmdGet %d "
423 "is bigger then cmd ring %d\n", 423 "is bigger than cmd ring %d\n",
424 pring->ringno, 424 pring->ringno,
425 pring->local_getidx, max_cmd_idx); 425 pring->local_getidx, max_cmd_idx);
426 426
@@ -1628,12 +1628,12 @@ lpfc_sli_rsp_pointers_error(struct lpfc_hba *phba, struct lpfc_sli_ring *pring)
1628{ 1628{
1629 struct lpfc_pgp *pgp = &phba->port_gp[pring->ringno]; 1629 struct lpfc_pgp *pgp = &phba->port_gp[pring->ringno];
1630 /* 1630 /*
1631 * Ring <ringno> handler: portRspPut <portRspPut> is bigger then 1631 * Ring <ringno> handler: portRspPut <portRspPut> is bigger than
1632 * rsp ring <portRspMax> 1632 * rsp ring <portRspMax>
1633 */ 1633 */
1634 lpfc_printf_log(phba, KERN_ERR, LOG_SLI, 1634 lpfc_printf_log(phba, KERN_ERR, LOG_SLI,
1635 "0312 Ring %d handler: portRspPut %d " 1635 "0312 Ring %d handler: portRspPut %d "
1636 "is bigger then rsp ring %d\n", 1636 "is bigger than rsp ring %d\n",
1637 pring->ringno, le32_to_cpu(pgp->rspPutInx), 1637 pring->ringno, le32_to_cpu(pgp->rspPutInx),
1638 pring->numRiocb); 1638 pring->numRiocb);
1639 1639
@@ -2083,12 +2083,12 @@ lpfc_sli_handle_slow_ring_event(struct lpfc_hba *phba,
2083 portRspPut = le32_to_cpu(pgp->rspPutInx); 2083 portRspPut = le32_to_cpu(pgp->rspPutInx);
2084 if (portRspPut >= portRspMax) { 2084 if (portRspPut >= portRspMax) {
2085 /* 2085 /*
2086 * Ring <ringno> handler: portRspPut <portRspPut> is bigger then 2086 * Ring <ringno> handler: portRspPut <portRspPut> is bigger than
2087 * rsp ring <portRspMax> 2087 * rsp ring <portRspMax>
2088 */ 2088 */
2089 lpfc_printf_log(phba, KERN_ERR, LOG_SLI, 2089 lpfc_printf_log(phba, KERN_ERR, LOG_SLI,
2090 "0303 Ring %d handler: portRspPut %d " 2090 "0303 Ring %d handler: portRspPut %d "
2091 "is bigger then rsp ring %d\n", 2091 "is bigger than rsp ring %d\n",
2092 pring->ringno, portRspPut, portRspMax); 2092 pring->ringno, portRspPut, portRspMax);
2093 2093
2094 phba->link_state = LPFC_HBA_ERROR; 2094 phba->link_state = LPFC_HBA_ERROR;
diff --git a/drivers/scsi/megaraid.c b/drivers/scsi/megaraid.c
index 7dc62deb4087..9fdcd60c5493 100644
--- a/drivers/scsi/megaraid.c
+++ b/drivers/scsi/megaraid.c
@@ -1967,8 +1967,8 @@ megaraid_abort_and_reset(adapter_t *adapter, Scsi_Cmnd *cmd, int aor)
1967 scb->state |= aor; 1967 scb->state |= aor;
1968 1968
1969 /* 1969 /*
1970 * Check if this command has firmare owenership. If 1970 * Check if this command has firmware ownership. If
1971 * yes, we cannot reset this command. Whenever, f/w 1971 * yes, we cannot reset this command. Whenever f/w
1972 * completes this command, we will return appropriate 1972 * completes this command, we will return appropriate
1973 * status from ISR. 1973 * status from ISR.
1974 */ 1974 */
diff --git a/drivers/scsi/qla1280.c b/drivers/scsi/qla1280.c
index 8cb9240596ab..df09820e8916 100644
--- a/drivers/scsi/qla1280.c
+++ b/drivers/scsi/qla1280.c
@@ -128,7 +128,7 @@
128 - Integrate ql12160_set_target_parameters() with 1280 version 128 - Integrate ql12160_set_target_parameters() with 1280 version
129 - Make qla1280_setup() non static 129 - Make qla1280_setup() non static
130 - Do not call qla1280_check_for_dead_scsi_bus() on every I/O request 130 - Do not call qla1280_check_for_dead_scsi_bus() on every I/O request
131 sent to the card - this command pauses the firmare!!! 131 sent to the card - this command pauses the firmware!!!
132 Rev 3.23.15 Beta March 19, 2002, Jes Sorensen 132 Rev 3.23.15 Beta March 19, 2002, Jes Sorensen
133 - Clean up qla1280.h - remove obsolete QL_DEBUG_LEVEL_x definitions 133 - Clean up qla1280.h - remove obsolete QL_DEBUG_LEVEL_x definitions
134 - Remove a pile of pointless and confusing (srb_t **) and 134 - Remove a pile of pointless and confusing (srb_t **) and
@@ -659,7 +659,7 @@ static int qla1280_read_nvram(struct scsi_qla_host *ha)
659 /* The firmware interface is, um, interesting, in that the 659 /* The firmware interface is, um, interesting, in that the
660 * actual firmware image on the chip is little endian, thus, 660 * actual firmware image on the chip is little endian, thus,
661 * the process of taking that image to the CPU would end up 661 * the process of taking that image to the CPU would end up
662 * little endian. However, the firmare interface requires it 662 * little endian. However, the firmware interface requires it
663 * to be read a word (two bytes) at a time. 663 * to be read a word (two bytes) at a time.
664 * 664 *
665 * The net result of this would be that the word (and 665 * The net result of this would be that the word (and
diff --git a/drivers/scsi/qla4xxx/ql4_mbx.c b/drivers/scsi/qla4xxx/ql4_mbx.c
index c577d79bd7e8..051b0f5e8c8e 100644
--- a/drivers/scsi/qla4xxx/ql4_mbx.c
+++ b/drivers/scsi/qla4xxx/ql4_mbx.c
@@ -392,7 +392,7 @@ int qla4xxx_get_firmware_status(struct scsi_qla_host * ha)
392 ha->iocb_hiwat -= IOCB_HIWAT_CUSHION; 392 ha->iocb_hiwat -= IOCB_HIWAT_CUSHION;
393 else 393 else
394 dev_info(&ha->pdev->dev, "WARNING!!! You have less than %d " 394 dev_info(&ha->pdev->dev, "WARNING!!! You have less than %d "
395 "firmare IOCBs available (%d).\n", 395 "firmware IOCBs available (%d).\n",
396 IOCB_HIWAT_CUSHION, ha->iocb_hiwat); 396 IOCB_HIWAT_CUSHION, ha->iocb_hiwat);
397 397
398 return QLA_SUCCESS; 398 return QLA_SUCCESS;
diff --git a/drivers/scsi/scsi_error.c b/drivers/scsi/scsi_error.c
index 381838ebd460..d86ebea9350a 100644
--- a/drivers/scsi/scsi_error.c
+++ b/drivers/scsi/scsi_error.c
@@ -1650,7 +1650,7 @@ int scsi_error_handler(void *data)
1650 * We use TASK_INTERRUPTIBLE so that the thread is not 1650 * We use TASK_INTERRUPTIBLE so that the thread is not
1651 * counted against the load average as a running process. 1651 * counted against the load average as a running process.
1652 * We never actually get interrupted because kthread_run 1652 * We never actually get interrupted because kthread_run
1653 * disables singal delivery for the created thread. 1653 * disables signal delivery for the created thread.
1654 */ 1654 */
1655 set_current_state(TASK_INTERRUPTIBLE); 1655 set_current_state(TASK_INTERRUPTIBLE);
1656 while (!kthread_should_stop()) { 1656 while (!kthread_should_stop()) {