*/
#include <linux/string.h>
-#include <linux/slab.h>
+#include <linux/gfp.h>
#include "mthca_dev.h"
#include "mthca_cmd.h"
}
if (0)
- mthca_dbg(dev, "Hash for %p6 is %04x\n", gid, *hash);
+ mthca_dbg(dev, "Hash for %pI6 is %04x\n", gid, *hash);
*index = *hash;
*prev = -1;
goto out;
if (index == -1) {
- mthca_err(dev, "MGID %p6 not found\n", gid->raw);
+ mthca_err(dev, "MGID %pI6 not found\n", gid->raw);
err = -EINVAL;
goto out;
}