mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
RDMA/mana_ib: Fix error code in probe()
Return -ENOMEM if dma_pool_create() fails. Don't return success.
Fixes: df91c470d9 ("RDMA/mana_ib: create/destroy AH")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://patch.msgid.link/2bbe900e-18b3-46b5-a08c-42eb71886da6@stanley.mountain
Reviewed-by: Long Li <longli@microsoft.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
This commit is contained in:
parent
ccca5e8aa1
commit
607a7dcf2e
1 changed files with 3 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue