diff options
author | Kalesh AP <[email protected]> | 2024-09-18 20:05:58 -0700 |
---|---|---|
committer | Leon Romanovsky <[email protected]> | 2024-10-08 10:12:29 +0300 |
commit | c5c1ae73b7741fa3b58e6e001b407825bb971225 (patch) | |
tree | 6e46f851bb69df9193128e16d3911fe0ed382477 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | 9ab20f76ae9fad55ebaf36bdff04aea1c2552374 (diff) |
RDMA/bnxt_re: Add a check for memory allocation
__alloc_pbl() can return error when memory allocation fails.
Driver is not checking the status on one of the instances.
Fixes: 0c4dcd602817 ("RDMA/bnxt_re: Refactor hardware queue memory allocation")
Link: https://patch.msgid.link/r/[email protected]
Reviewed-by: Selvin Xavier <[email protected]>
Signed-off-by: Kalesh AP <[email protected]>
Signed-off-by: Selvin Xavier <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions