aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/mthca/mthca_mcg.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/infiniband/hw/mthca/mthca_mcg.c')
-rw-r--r--drivers/infiniband/hw/mthca/mthca_mcg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/infiniband/hw/mthca/mthca_mcg.c b/drivers/infiniband/hw/mthca/mthca_mcg.c
index 693bed0b2d1c..d4c81053e439 100644
--- a/drivers/infiniband/hw/mthca/mthca_mcg.c
+++ b/drivers/infiniband/hw/mthca/mthca_mcg.c
@@ -87,7 +87,7 @@ static int find_mgm(struct mthca_dev *dev,
87 } 87 }
88 88
89 if (0) 89 if (0)
90 mthca_dbg(dev, "Hash for %p6 is %04x\n", gid, *hash); 90 mthca_dbg(dev, "Hash for %pI6 is %04x\n", gid, *hash);
91 91
92 *index = *hash; 92 *index = *hash;
93 *prev = -1; 93 *prev = -1;
@@ -254,7 +254,7 @@ int mthca_multicast_detach(struct ib_qp *ibqp, union ib_gid *gid, u16 lid)
254 goto out; 254 goto out;
255 255
256 if (index == -1) { 256 if (index == -1) {
257 mthca_err(dev, "MGID %p6 not found\n", gid->raw); 257 mthca_err(dev, "MGID %pI6 not found\n", gid->raw);
258 err = -EINVAL; 258 err = -EINVAL;
259 goto out; 259 goto out;
260 } 260 }