aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/mlx4
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/mlx4')
-rw-r--r--drivers/net/mlx4/mcg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/mlx4/mcg.c b/drivers/net/mlx4/mcg.c
index 6f79e84a5c9a..b1622062b12d 100644
--- a/drivers/net/mlx4/mcg.c
+++ b/drivers/net/mlx4/mcg.c
@@ -118,7 +118,7 @@ static int find_mgm(struct mlx4_dev *dev,
118 return err; 118 return err;
119 119
120 if (0) 120 if (0)
121 mlx4_dbg(dev, "Hash for %p6 is %04x\n", gid, *hash); 121 mlx4_dbg(dev, "Hash for %pI6 is %04x\n", gid, *hash);
122 122
123 *index = *hash; 123 *index = *hash;
124 *prev = -1; 124 *prev = -1;
@@ -267,7 +267,7 @@ int mlx4_multicast_detach(struct mlx4_dev *dev, struct mlx4_qp *qp, u8 gid[16])
267 goto out; 267 goto out;
268 268
269 if (index == -1) { 269 if (index == -1) {
270 mlx4_err(dev, "MGID %p6 not found\n", gid); 270 mlx4_err(dev, "MGID %pI6 not found\n", gid);
271 err = -EINVAL; 271 err = -EINVAL;
272 goto out; 272 goto out;
273 } 273 }