mlx4_core: Fix GFP flags parameters to be gfp_t
authorRoland Dreier <roland@purestorage.com>
Wed, 4 Jun 2014 17:19:13 +0000 (10:19 -0700)
committerRoland Dreier <roland@purestorage.com>
Wed, 4 Jun 2014 17:19:13 +0000 (10:19 -0700)
commit4e2c341b863e5bb680a49d5f006d7b75cf93bc93
treefb806f3ba4adce2a6ec5a9f804d3b8002c2a9c78
parent40f2287bd583f4df4c602c1a29a48df2730fb6d4
mlx4_core: Fix GFP flags parameters to be gfp_t

Otherwise sparse gives a bunch of warnings like

    drivers/net/ethernet/mellanox/mlx4/srq.c:110:66: sparse: incorrect type in argument 4 (different base types)
    drivers/net/ethernet/mellanox/mlx4/srq.c:110:66:    expected int [signed] gfp
    drivers/net/ethernet/mellanox/mlx4/srq.c:110:66:    got restricted gfp_t

Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/net/ethernet/mellanox/mlx4/icm.c
drivers/net/ethernet/mellanox/mlx4/icm.h
drivers/net/ethernet/mellanox/mlx4/qp.c