aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorEli Cohen <[email protected]>2021-04-11 08:36:46 +0000
committerMichael S. Tsirkin <[email protected]>2021-04-22 22:15:31 +0000
commitbe286f84e33da1a7f83142b64dbd86f600e73363 (patch)
tree793255f786e93b1842148ae2ec61de58a0a018d7 /tools/perf/scripts/python/netdev-times.py
parentvhost-vdpa: protect concurrent access to vhost device iotlb (diff)
downloadkernel-be286f84e33da1a7f83142b64dbd86f600e73363.tar.gz
kernel-be286f84e33da1a7f83142b64dbd86f600e73363.zip
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/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions