aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/scsi/qla2xxx/qla_isr.c4
-rw-r--r--drivers/scsi/qla2xxx/qla_nx.c4
-rw-r--r--drivers/scsi/qla2xxx/qla_target.c12
-rw-r--r--drivers/scsi/qla2xxx/tcm_qla2xxx.c2
4 files changed, 11 insertions, 11 deletions
diff --git a/drivers/scsi/qla2xxx/qla_isr.c b/drivers/scsi/qla2xxx/qla_isr.c
index 5733811ce8e7..9d1c7b56090a 100644
--- a/drivers/scsi/qla2xxx/qla_isr.c
+++ b/drivers/scsi/qla2xxx/qla_isr.c
@@ -251,7 +251,7 @@ qla2x00_mbx_completion(scsi_qla_host_t *vha, uint16_t mb0)
251 /* Read all mbox registers? */ 251 /* Read all mbox registers? */
252 mboxes = (1 << ha->mbx_count) - 1; 252 mboxes = (1 << ha->mbx_count) - 1;
253 if (!ha->mcp) 253 if (!ha->mcp)
254 ql_dbg(ql_dbg_async, vha, 0x5001, "MBX pointer ERRROR.\n"); 254 ql_dbg(ql_dbg_async, vha, 0x5001, "MBX pointer ERROR.\n");
255 else 255 else
256 mboxes = ha->mcp->in_mb; 256 mboxes = ha->mcp->in_mb;
257 257
@@ -2318,7 +2318,7 @@ qla24xx_mbx_completion(scsi_qla_host_t *vha, uint16_t mb0)
2318 /* Read all mbox registers? */ 2318 /* Read all mbox registers? */
2319 mboxes = (1 << ha->mbx_count) - 1; 2319 mboxes = (1 << ha->mbx_count) - 1;
2320 if (!ha->mcp) 2320 if (!ha->mcp)
2321 ql_dbg(ql_dbg_async, vha, 0x504e, "MBX pointer ERRROR.\n"); 2321 ql_dbg(ql_dbg_async, vha, 0x504e, "MBX pointer ERROR.\n");
2322 else 2322 else
2323 mboxes = ha->mcp->in_mb; 2323 mboxes = ha->mcp->in_mb;
2324 2324
diff --git a/drivers/scsi/qla2xxx/qla_nx.c b/drivers/scsi/qla2xxx/qla_nx.c
index 14cd361742fa..f5e297c6b684 100644
--- a/drivers/scsi/qla2xxx/qla_nx.c
+++ b/drivers/scsi/qla2xxx/qla_nx.c
@@ -955,7 +955,7 @@ qla82xx_rom_fast_read(struct qla_hw_data *ha, int addr, int *valp)
955 } 955 }
956 if (loops >= 50000) { 956 if (loops >= 50000) {
957 ql_log(ql_log_fatal, vha, 0x00b9, 957 ql_log(ql_log_fatal, vha, 0x00b9,
958 "Failed to aquire SEM2 lock.\n"); 958 "Failed to acquire SEM2 lock.\n");
959 return -1; 959 return -1;
960 } 960 }
961 ret = qla82xx_do_rom_fast_read(ha, addr, valp); 961 ret = qla82xx_do_rom_fast_read(ha, addr, valp);
@@ -1122,7 +1122,7 @@ qla82xx_pinit_from_rom(scsi_qla_host_t *vha)
1122 long data; 1122 long data;
1123 }; 1123 };
1124 1124
1125 /* Halt all the indiviual PEGs and other blocks of the ISP */ 1125 /* Halt all the individual PEGs and other blocks of the ISP */
1126 qla82xx_rom_lock(ha); 1126 qla82xx_rom_lock(ha);
1127 1127
1128 /* disable all I2Q */ 1128 /* disable all I2Q */
diff --git a/drivers/scsi/qla2xxx/qla_target.c b/drivers/scsi/qla2xxx/qla_target.c
index 0e09d8f433d1..5b496d0a6310 100644
--- a/drivers/scsi/qla2xxx/qla_target.c
+++ b/drivers/scsi/qla2xxx/qla_target.c
@@ -73,7 +73,7 @@ enum fcp_resp_rsp_codes {
73#define FCP_PTA_SIMPLE 0 /* simple task attribute */ 73#define FCP_PTA_SIMPLE 0 /* simple task attribute */
74#define FCP_PTA_HEADQ 1 /* head of queue task attribute */ 74#define FCP_PTA_HEADQ 1 /* head of queue task attribute */
75#define FCP_PTA_ORDERED 2 /* ordered task attribute */ 75#define FCP_PTA_ORDERED 2 /* ordered task attribute */
76#define FCP_PTA_ACA 4 /* auto. contigent allegiance */ 76#define FCP_PTA_ACA 4 /* auto. contingent allegiance */
77#define FCP_PTA_MASK 7 /* mask for task attribute field */ 77#define FCP_PTA_MASK 7 /* mask for task attribute field */
78#define FCP_PRI_SHIFT 3 /* priority field starts in bit 3 */ 78#define FCP_PRI_SHIFT 3 /* priority field starts in bit 3 */
79#define FCP_PRI_RESVD_MASK 0x80 /* reserved bits in priority field */ 79#define FCP_PRI_RESVD_MASK 0x80 /* reserved bits in priority field */
@@ -3983,7 +3983,7 @@ void qlt_async_event(uint16_t code, struct scsi_qla_host *vha,
3983 case MBA_RSP_TRANSFER_ERR: /* Response Transfer Error */ 3983 case MBA_RSP_TRANSFER_ERR: /* Response Transfer Error */
3984 ql_dbg(ql_dbg_tgt_mgt, vha, 0xf03a, 3984 ql_dbg(ql_dbg_tgt_mgt, vha, 0xf03a,
3985 "qla_target(%d): System error async event %#x " 3985 "qla_target(%d): System error async event %#x "
3986 "occured", vha->vp_idx, code); 3986 "occurred", vha->vp_idx, code);
3987 break; 3987 break;
3988 case MBA_WAKEUP_THRES: /* Request Queue Wake-up. */ 3988 case MBA_WAKEUP_THRES: /* Request Queue Wake-up. */
3989 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); 3989 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags);
@@ -3992,7 +3992,7 @@ void qlt_async_event(uint16_t code, struct scsi_qla_host *vha,
3992 case MBA_LOOP_UP: 3992 case MBA_LOOP_UP:
3993 { 3993 {
3994 ql_dbg(ql_dbg_tgt_mgt, vha, 0xf03b, 3994 ql_dbg(ql_dbg_tgt_mgt, vha, 0xf03b,
3995 "qla_target(%d): Async LOOP_UP occured " 3995 "qla_target(%d): Async LOOP_UP occurred "
3996 "(m[0]=%x, m[1]=%x, m[2]=%x, m[3]=%x)", vha->vp_idx, 3996 "(m[0]=%x, m[1]=%x, m[2]=%x, m[3]=%x)", vha->vp_idx,
3997 le16_to_cpu(mailbox[0]), le16_to_cpu(mailbox[1]), 3997 le16_to_cpu(mailbox[0]), le16_to_cpu(mailbox[1]),
3998 le16_to_cpu(mailbox[2]), le16_to_cpu(mailbox[3])); 3998 le16_to_cpu(mailbox[2]), le16_to_cpu(mailbox[3]));
@@ -4009,7 +4009,7 @@ void qlt_async_event(uint16_t code, struct scsi_qla_host *vha,
4009 case MBA_LIP_RESET: 4009 case MBA_LIP_RESET:
4010 case MBA_RSCN_UPDATE: 4010 case MBA_RSCN_UPDATE:
4011 ql_dbg(ql_dbg_tgt_mgt, vha, 0xf03c, 4011 ql_dbg(ql_dbg_tgt_mgt, vha, 0xf03c,
4012 "qla_target(%d): Async event %#x occured " 4012 "qla_target(%d): Async event %#x occurred "
4013 "(m[0]=%x, m[1]=%x, m[2]=%x, m[3]=%x)", vha->vp_idx, code, 4013 "(m[0]=%x, m[1]=%x, m[2]=%x, m[3]=%x)", vha->vp_idx, code,
4014 le16_to_cpu(mailbox[0]), le16_to_cpu(mailbox[1]), 4014 le16_to_cpu(mailbox[0]), le16_to_cpu(mailbox[1]),
4015 le16_to_cpu(mailbox[2]), le16_to_cpu(mailbox[3])); 4015 le16_to_cpu(mailbox[2]), le16_to_cpu(mailbox[3]));
@@ -4018,7 +4018,7 @@ void qlt_async_event(uint16_t code, struct scsi_qla_host *vha,
4018 case MBA_PORT_UPDATE: 4018 case MBA_PORT_UPDATE:
4019 ql_dbg(ql_dbg_tgt_mgt, vha, 0xf03d, 4019 ql_dbg(ql_dbg_tgt_mgt, vha, 0xf03d,
4020 "qla_target(%d): Port update async event %#x " 4020 "qla_target(%d): Port update async event %#x "
4021 "occured: updating the ports database (m[0]=%x, m[1]=%x, " 4021 "occurred: updating the ports database (m[0]=%x, m[1]=%x, "
4022 "m[2]=%x, m[3]=%x)", vha->vp_idx, code, 4022 "m[2]=%x, m[3]=%x)", vha->vp_idx, code,
4023 le16_to_cpu(mailbox[0]), le16_to_cpu(mailbox[1]), 4023 le16_to_cpu(mailbox[0]), le16_to_cpu(mailbox[1]),
4024 le16_to_cpu(mailbox[2]), le16_to_cpu(mailbox[3])); 4024 le16_to_cpu(mailbox[2]), le16_to_cpu(mailbox[3]));
@@ -4034,7 +4034,7 @@ void qlt_async_event(uint16_t code, struct scsi_qla_host *vha,
4034 4034
4035 default: 4035 default:
4036 ql_dbg(ql_dbg_tgt_mgt, vha, 0xf040, 4036 ql_dbg(ql_dbg_tgt_mgt, vha, 0xf040,
4037 "qla_target(%d): Async event %#x occured: " 4037 "qla_target(%d): Async event %#x occurred: "
4038 "ignore (m[0]=%x, m[1]=%x, m[2]=%x, m[3]=%x)", vha->vp_idx, 4038 "ignore (m[0]=%x, m[1]=%x, m[2]=%x, m[3]=%x)", vha->vp_idx,
4039 code, le16_to_cpu(mailbox[0]), le16_to_cpu(mailbox[1]), 4039 code, le16_to_cpu(mailbox[0]), le16_to_cpu(mailbox[1]),
4040 le16_to_cpu(mailbox[2]), le16_to_cpu(mailbox[3])); 4040 le16_to_cpu(mailbox[2]), le16_to_cpu(mailbox[3]));
diff --git a/drivers/scsi/qla2xxx/tcm_qla2xxx.c b/drivers/scsi/qla2xxx/tcm_qla2xxx.c
index 2358c16c4c8e..c0b682c75ee1 100644
--- a/drivers/scsi/qla2xxx/tcm_qla2xxx.c
+++ b/drivers/scsi/qla2xxx/tcm_qla2xxx.c
@@ -367,7 +367,7 @@ static struct se_node_acl *tcm_qla2xxx_alloc_fabric_acl(
367 367
368 nacl = kzalloc(sizeof(struct tcm_qla2xxx_nacl), GFP_KERNEL); 368 nacl = kzalloc(sizeof(struct tcm_qla2xxx_nacl), GFP_KERNEL);
369 if (!nacl) { 369 if (!nacl) {
370 pr_err("Unable to alocate struct tcm_qla2xxx_nacl\n"); 370 pr_err("Unable to allocate struct tcm_qla2xxx_nacl\n");
371 return NULL; 371 return NULL;
372 } 372 }
373 373