diff options
author | Jack Wang <jinpu.wang@ionos.com> | 2022-08-25 09:35:33 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-08-27 03:29:50 +0300 |
commit | 0c1f77d87d699346f8e8a4874692eb82cbcf9c65 (patch) | |
tree | b32102ee1590dcd93979a2dcb43f51b94a8e8241 /drivers/cpufreq/pxa3xx-cpufreq.c | |
parent | 6005a8aecee8afeba826295321a612ab485c230e (diff) | |
download | linux-0c1f77d87d699346f8e8a4874692eb82cbcf9c65.tar.xz |
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>
Diffstat (limited to 'drivers/cpufreq/pxa3xx-cpufreq.c')
0 files changed, 0 insertions, 0 deletions