mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-12 06:01:58 +00:00
net/mlx4: Fix error check for dma_map_sg
dma_map_sg return 0 on error. Signed-off-by: Jack Wang <jinpu.wang@ionos.com> Reviewed-by: Leon Romanovsky <leonro@nvidia.com> Link: https://lore.kernel.org/r/20220825063533.21015-1-jinpu.wang@ionos.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
6005a8aece
commit
0c1f77d87d
1 changed files with 2 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue