mirror of
https://github.com/torvalds/linux.git
synced 2026-12-02 11:34:58 +00:00
Fix to return error code -ENOMEM from the rdma_zalloc_drv_obj() error handling case instead of 0, as done elsewhere in this function. Fixes:e8ac9389f0("RDMA: Fix allocation failure on pointer pd") Fixes:21a428a019("RDMA: Handle PD allocations by IB/core") Signed-off-by: Wei Yongjun <[email protected]> Reviewed-by: Leon Romanovsky <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Doug Ledford <[email protected]>