aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/core/uverbs_ioctl.c
diff options
context:
space:
mode:
authorYishai Hadas <yishaih@nvidia.com>2021-03-04 15:04:59 +0200
committerJason Gunthorpe <jgg@nvidia.com>2021-03-11 20:20:36 -0400
commit3f32dc0f4601b180bbfd7b5adc7f82557f1408d0 (patch)
treecaa8b30ce733c5a08a5a894f5ee6ce4092627622 /drivers/infiniband/core/uverbs_ioctl.c
parentRDMA/mlx5: Fix mlx5 rates to IB rates map (diff)
downloadlinux-dev-3f32dc0f4601b180bbfd7b5adc7f82557f1408d0.tar.xz
linux-dev-3f32dc0f4601b180bbfd7b5adc7f82557f1408d0.zip
IB/core: Drop WARN_ON() from ib_umem_find_best_pgsz()
The WARN_ON() issued as part of ib_umem_find_best_pgsz() blocked cases when only page sizes larger than PAGE_SIZE were set, drop it to enable those cases. In addition, there is no need to have a specific check for zero pgsz_bitmap, the function will do its job and return 0 at the end if nothing match will be found. Link: https://lore.kernel.org/r/20210304130501.1102577-2-leon@kernel.org Signed-off-by: Yishai Hadas <yishaih@nvidia.com> Signed-off-by: Leon Romanovsky <leonro@nvidia.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/infiniband/core/uverbs_ioctl.c')
0 files changed, 0 insertions, 0 deletions