diff options
author | Dan Carpenter <[email protected]> | 2023-09-06 14:23:52 +0300 |
---|---|---|
committer | Leon Romanovsky <[email protected]> | 2023-09-18 09:12:00 +0300 |
commit | 6b5f0749ce48c13d7f53b27c39d00bba46e1fd1c (patch) | |
tree | b08bf52eb61db687dc91b03fc8fca66dc2c6c025 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | c489800e0d48097fc6afebd862c6afa039110a36 (diff) |
RDMA/erdma: Fix error code in erdma_create_scatter_mtt()
The erdma_create_scatter_mtt() function is supposed to return error
pointers. Returning NULL will lead to an Oops.
Fixes: ed10435d3583 ("RDMA/erdma: Implement hierarchical MTT")
Signed-off-by: Dan Carpenter <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Acked-by: Cheng Xu <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions