diff options
author | Zhang Changzhong <[email protected]> | 2023-03-21 14:45:43 +1100 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-03-21 21:29:34 -0700 |
commit | 4107b8746d93ace135b8c4da4f19bbae81db785f (patch) | |
tree | cca1aab5ecb07714e162a9911640b4eb289dac9b /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | 82463d9dbb5b90a64eb186afda47d703716d02a9 (diff) |
net/sonic: use dma_mapping_error() for error check
The DMA address returned by dma_map_single() should be checked with
dma_mapping_error(). Fix it accordingly.
Fixes: efcce839360f ("[PATCH] macsonic/jazzsonic network drivers update")
Signed-off-by: Zhang Changzhong <[email protected]>
Tested-by: Stan Johnson <[email protected]>
Signed-off-by: Finn Thain <[email protected]>
Reviewed-by: Leon Romanovsky <[email protected]>
Link: https://lore.kernel.org/r/6645a4b5c1e364312103f48b7b36783b94e197a2.1679370343.git.fthain@linux-m68k.org
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions