mlx4_core: Fix GFP flags parameters to be gfp_t
[linux-2.6-microblaze.git] / drivers / net / ethernet / mellanox / mlx4 / qp.c
index 917f0d0..07198ca 100644 (file)
@@ -316,7 +316,7 @@ err_out:
        return err;
 }
 
-static int mlx4_qp_alloc_icm(struct mlx4_dev *dev, int qpn, int gfp)
+static int mlx4_qp_alloc_icm(struct mlx4_dev *dev, int qpn, gfp_t gfp)
 {
        u64 param = 0;