RDMA/umem: Fix signature of stub ib_umem_find_best_pgsz()
authorJason Gunthorpe <jgg@nvidia.com>
Tue, 25 Aug 2020 18:17:08 +0000 (15:17 -0300)
committerJason Gunthorpe <jgg@nvidia.com>
Mon, 31 Aug 2020 15:15:10 +0000 (12:15 -0300)
commit61690d01db32eb1f94adc9ac2b8bb741d34e4671
tree8525bf5efd5513acf1c49ce0a39e521120914ddf
parent5d985d724bfa3ab7acf9edc2b3042f66fca9da99
RDMA/umem: Fix signature of stub ib_umem_find_best_pgsz()

The original function returns unsigned long and 0 on failure.

Fixes: 4a35339958f1 ("RDMA/umem: Add API to find best driver supported page size in an MR")
Link: https://lore.kernel.org/r/0-v1-982a13cc5c6d+501ae-fix_best_pgsz_stub_jgg@nvidia.com
Reviewed-by: Gal Pressman <galpress@amazon.com>
Acked-by: Shiraz Saleem <shiraz.saleem@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
include/rdma/ib_umem.h