[SCSI] qla2xxx: Convert remaining printk's to ql_log format.
authorChad Dupuis <chad.dupuis@qlogic.com>
Thu, 9 Feb 2012 19:15:47 +0000 (11:15 -0800)
committerJames Bottomley <JBottomley@Parallels.com>
Sun, 19 Feb 2012 14:21:34 +0000 (08:21 -0600)
Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com>
Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/qla2xxx/qla_dbg.c
drivers/scsi/qla2xxx/qla_isr.c
drivers/scsi/qla2xxx/qla_nx.c

index 4ba30b25f8677b3aa2a789b09167b7c05bbabc20..472ee5e96e69563becbd8c979fc86ce0d1bd6b1b 100644 (file)
@@ -18,7 +18,7 @@
  * | Queue Command and IO tracing |       0x302f       | 0x3006,0x3008  |
  * |                              |                    | 0x302d-0x302e  |
  * | DPC Thread                   |       0x401c       |               |
- * | Async Events                 |       0x5057       | 0x502b-0x502f  |
+ * | Async Events                 |       0x505d       | 0x502b-0x502f  |
  * |                              |                    | 0x5047,0x5052  |
  * | Timer Routines               |       0x6011       | 0x600e-0x600f  |
  * | User Space Interactions      |       0x709e       | 0x7018,0x702e  |
@@ -27,7 +27,7 @@
  * |                              |                    | 0x800b,0x8039  |
  * | AER/EEH                      |       0x900f       |               |
  * | Virtual Port                 |       0xa007       |               |
- * | ISP82XX Specific             |       0xb052       |               |
+ * | ISP82XX Specific             |       0xb054       | 0xb053         |
  * | MultiQ                       |       0xc00c       |               |
  * | Misc                         |       0xd010       |               |
  * ----------------------------------------------------------------------
index 39a0584889f98472998ab041a2544ed9279e282a..f78f10f164e58d4af8eb7d15ffc0c9110ec7060c 100644 (file)
@@ -44,8 +44,8 @@ qla2100_intr_handler(int irq, void *dev_id)
 
        rsp = (struct rsp_que *) dev_id;
        if (!rsp) {
-               printk(KERN_INFO
-                   "%s(): NULL response queue pointer.\n", __func__);
+               ql_log(ql_log_info, NULL, 0x505d,
+                   "%s: NULL response queue pointer.\n", __func__);
                return (IRQ_NONE);
        }
 
@@ -141,8 +141,8 @@ qla2300_intr_handler(int irq, void *dev_id)
 
        rsp = (struct rsp_que *) dev_id;
        if (!rsp) {
-               printk(KERN_INFO
-                   "%s(): NULL response queue pointer.\n", __func__);
+               ql_log(ql_log_info, NULL, 0x5058,
+                   "%s: NULL response queue pointer.\n", __func__);
                return (IRQ_NONE);
        }
 
@@ -2097,8 +2097,8 @@ qla24xx_intr_handler(int irq, void *dev_id)
 
        rsp = (struct rsp_que *) dev_id;
        if (!rsp) {
-               printk(KERN_INFO
-                   "%s(): NULL response queue pointer.\n", __func__);
+               ql_log(ql_log_info, NULL, 0x5059,
+                   "%s: NULL response queue pointer.\n", __func__);
                return IRQ_NONE;
        }
 
@@ -2181,8 +2181,8 @@ qla24xx_msix_rsp_q(int irq, void *dev_id)
 
        rsp = (struct rsp_que *) dev_id;
        if (!rsp) {
-               printk(KERN_INFO
-               "%s(): NULL response queue pointer.\n", __func__);
+               ql_log(ql_log_info, NULL, 0x505a,
+                   "%s: NULL response queue pointer.\n", __func__);
                return IRQ_NONE;
        }
        ha = rsp->hw;
@@ -2211,8 +2211,8 @@ qla25xx_msix_rsp_q(int irq, void *dev_id)
 
        rsp = (struct rsp_que *) dev_id;
        if (!rsp) {
-               printk(KERN_INFO
-                       "%s(): NULL response queue pointer.\n", __func__);
+               ql_log(ql_log_info, NULL, 0x505b,
+                   "%s: NULL response queue pointer.\n", __func__);
                return IRQ_NONE;
        }
        ha = rsp->hw;
@@ -2245,8 +2245,8 @@ qla24xx_msix_default(int irq, void *dev_id)
 
        rsp = (struct rsp_que *) dev_id;
        if (!rsp) {
-               printk(KERN_INFO
-                       "%s(): NULL response queue pointer.\n", __func__);
+               ql_log(ql_log_info, NULL, 0x505c,
+                   "%s: NULL response queue pointer.\n", __func__);
                return IRQ_NONE;
        }
        ha = rsp->hw;
index b0df7da02018d36dc8e420b35fc871fdc0a3522e..b251b4d8a2ef34066ca7b3a56dc426d8165dc55d 100644 (file)
@@ -2050,8 +2050,8 @@ qla82xx_intr_handler(int irq, void *dev_id)
 
        rsp = (struct rsp_que *) dev_id;
        if (!rsp) {
-               printk(KERN_INFO
-                       "%s(): NULL response queue pointer.\n", __func__);
+               ql_log(ql_log_info, NULL, 0xb054,
+                   "%s: NULL response queue pointer.\n", __func__);
                return IRQ_NONE;
        }
        ha = rsp->hw;