[ Upstream commit 61690d01db32eb1f94adc9ac2b8bb741d34e4671 ] The original function returns unsigned long and 0 on failure. Fixes: 4a35339958 ("RDMA/umem: Add API to find best driver supported page size in an MR") Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Gal Pressman <[email protected]> Acked-by: Shiraz Saleem <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]> Signed-off-by: Sasha Levin <[email protected]>
4a35339958