aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorEli Cohen <[email protected]>2021-04-11 11:36:46 +0300
committerMichael S. Tsirkin <[email protected]>2021-04-22 18:15:31 -0400
commitbe286f84e33da1a7f83142b64dbd86f600e73363 (patch)
tree793255f786e93b1842148ae2ec61de58a0a018d7 /tools/testing/selftests/bpf/progs/test_autoload.c
parenta9d064524fc3cf463b3bb14fa63de78aafb40dab (diff)
vdpa/mlx5: Set err = -ENOMEM in case dma_map_sg_attrs fails
Set err = -ENOMEM if dma_map_sg_attrs() fails so the function reutrns error. Fixes: 94abbccdf291 ("vdpa/mlx5: Add shared memory registration code") Signed-off-by: Eli Cohen <[email protected]> Reported-by: kernel test robot <[email protected]> Reported-by: Dan Carpenter <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Michael S. Tsirkin <[email protected]> Acked-by: Jason Wang <[email protected]> Reviewed-by: Stefano Garzarella <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions