diff options
author | Dan Carpenter <dan.carpenter@linaro.org> | 2024-01-08 12:06:11 +0300 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2024-01-08 11:41:49 +0200 |
commit | d24b923f1d696ddacb09f0f2d1b1f4f045cfe65e (patch) | |
tree | 83622b831dfdb2c99f3821ec767e23ba1db9660e /drivers/net/ethernet/intel/ice/ice_dcb_lib.c | |
parent | 2307157c85096026043ba11f9ad8393c31515c45 (diff) |
RDMA/bnxt_re: Fix error code in bnxt_re_create_cq()
Return -ENOMEM if get_zeroed_page() fails. Don't return success.
Fixes: e275919d9669 ("RDMA/bnxt_re: Share a page to expose per CQ info with userspace")
Link: https://lore.kernel.org/r/d714306e-b7d7-4e89-b973-a9ff0f260c78@moroto.mountain
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Acked-by: Selvin Xavier <selvin.xavier@broadcom.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_dcb_lib.c')
0 files changed, 0 insertions, 0 deletions