rds: Fix improper gfp_t usage.
authorDavid S. Miller <davem@davemloft.net>
Tue, 25 Aug 2015 22:54:25 +0000 (15:54 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 Aug 2015 22:54:25 +0000 (15:54 -0700)
commitb01d04aa511b78c795dd258bf8689a421a6b4d0c
treede812b2ad7abbb936667431c52144a53d3666a37
parent04e1b7341dc33abe4dd3f761e2e9137701e55684
rds: Fix improper gfp_t usage.

>> net/rds/ib_recv.c:382:28: sparse: incorrect type in initializer (different base types)
   net/rds/ib_recv.c:382:28:    expected int [signed] can_wait
   net/rds/ib_recv.c:382:28:    got restricted gfp_t
   net/rds/ib_recv.c:828:23: sparse: cast to restricted __le64

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/rds/ib_recv.c