return err;
if (0)
- mlx4_dbg(dev, "Hash for %p6 is %04x\n", gid, *hash);
+ mlx4_dbg(dev, "Hash for %pI6 is %04x\n", gid, *hash);
*index = *hash;
*prev = -1;
goto out;
if (index == -1) {
- mlx4_err(dev, "MGID %p6 not found\n", gid);
+ mlx4_err(dev, "MGID %pI6 not found\n", gid);
err = -EINVAL;
goto out;
}