IB/amso1100: Fix incorrect pr_debug()
authorSteve Wise <swise@opengridcomputing.com>
Tue, 31 Oct 2006 04:52:53 +0000 (20:52 -0800)
committerRoland Dreier <rolandd@cisco.com>
Tue, 31 Oct 2006 04:52:53 +0000 (20:52 -0800)
pr_debug() was printing the wrong stuff.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/amso1100/c2_rnic.c

index 030238d335ed8105f8a719ae67cb75d149fd8c94..21d9612a56ccd3e13654595b8e0f80a05a6547b4 100644 (file)
@@ -545,8 +545,8 @@ int c2_rnic_init(struct c2_dev *c2dev)
                goto bail2;
        }
        pci_unmap_addr_set(&c2dev->aeq, mapping, c2dev->aeq.host_dma);
-       pr_debug("%s aeq va %p dma %llx\n", __FUNCTION__, q1_pages,
-                (unsigned long long) c2dev->rep_vq.host_dma);
+       pr_debug("%s aeq va %p dma %llx\n", __FUNCTION__, q2_pages,
+                (unsigned long long) c2dev->aeq.host_dma);
        c2_mq_rep_init(&c2dev->aeq,
                       2,
                       qsize,