mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-20 19:23:40 +00:00
RDMA/bnxt_re: Add a check for memory allocation
[ Upstream commitc5c1ae73b7] __alloc_pbl() can return error when memory allocation fails. Driver is not checking the status on one of the instances. Fixes:0c4dcd6028("RDMA/bnxt_re: Refactor hardware queue memory allocation") Link: https://patch.msgid.link/r/1726715161-18941-4-git-send-email-selvin.xavier@broadcom.com Reviewed-by: Selvin Xavier <selvin.xavier@broadcom.com> Signed-off-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com> Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com> Signed-off-by: Leon Romanovsky <leon@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
0a2430b146
commit
322a19baaa
1 changed files with 2 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue