]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
qla2xxx: Convert remaining printk's to ql_log format.
authorChad Dupuis <chad.dupuis@qlogic.com>
Tue, 10 Apr 2012 11:35:01 +0000 (17:05 +0530)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Wed, 9 May 2012 00:40:56 +0000 (17:40 -0700)
JIRA Key: V2632FC-126

Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
drivers/scsi/qla2xxx/qla_dbg.c
drivers/scsi/qla2xxx/qla_isr.c
drivers/scsi/qla2xxx/qla_nx.c

index 11fbcf7448f92beef9338cd58a71ecef138551dd..b96e21d2e51748ab1467acdda70ad5f98c97de1b 100644 (file)
  * | 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 |
+ * | User Space Interactions      |       0x709f       | 0x7018,0x702e  |
  * |                              |                    | 0x7039,0x7045  |
  * | Task Management              |       0x803c       | 0x8025-0x8026  |
  * |                             |                    | 0x800b,0x8039 |
index 18e341d12baa355626b15cbfd06077dcccfc0f63..1d759af058b070113f62264f5e69c0dd106f773f 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);
        }
 
@@ -2092,8 +2092,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;
        }
 
@@ -2176,8 +2176,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;
@@ -2206,8 +2206,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;
@@ -2240,8 +2240,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 713efed2723f164709d8a829e7faec54e6364764..c25a4607d016feccf05a3ee44fd4dc2d6f13b5ce 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, 0xb053,
+                   "%s: NULL response queue pointer.\n", __func__);
                return IRQ_NONE;
        }
        ha = rsp->hw;