RDMA/ipoib: Remove can_sleep parameter from iboib_mcast_alloc
authorKamal Heib <kamalheib1@gmail.com>
Mon, 25 May 2020 13:03:05 +0000 (16:03 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 25 May 2020 18:48:12 +0000 (15:48 -0300)
commitebd6e96b33a23fe84d1a64441a04d7bc91ccc519
tree3ae288973b7ff2b17ab789dc873d5d070873d452
parent49ea0c036ede81f126f1a9389d377999fdf5c5a1
RDMA/ipoib: Remove can_sleep parameter from iboib_mcast_alloc

can_sleep is always 0 when iboib_mcast_alloc() is called, so remove it and
use GFP_ATOMIC instead of GFP_KERNEL.

Link: https://lore.kernel.org/r/20200525130305.171509-1-kamalheib1@gmail.com
Signed-off-by: Kamal Heib <kamalheib1@gmail.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/ulp/ipoib/ipoib_multicast.c