linux/drivers/net/ethernet/natsemi
Zhang Changzhong 4107b8746d 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: efcce83936 ("[PATCH] macsonic/jazzsonic network drivers update")
Signed-off-by: Zhang Changzhong <zhangchangzhong@huawei.com>
Tested-by: Stan Johnson <userm57@yahoo.com>
Signed-off-by: Finn Thain <fthain@linux-m68k.org>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Link: https://lore.kernel.org/r/6645a4b5c1e364312103f48b7b36783b94e197a2.1679370343.git.fthain@linux-m68k.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2023-03-21 21:29:34 -07:00
..
jazzsonic.c net: natsemi: fix hw address initialization for jazz and xtensa 2021-11-30 18:15:58 -08:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
macsonic.c natsemi: macsonic: use eth_hw_addr_set() 2021-11-19 11:05:21 +00:00
Makefile
natsemi.c net: drop the weight argument from netif_napi_add 2022-09-28 18:57:14 -07:00
ns83820.c net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
sonic.c net/sonic: use dma_mapping_error() for error check 2023-03-21 21:29:34 -07:00
sonic.h net: natsemi: Replace in_interrupt() usage. 2020-09-29 14:02:54 -07:00
xtsonic.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2021-12-02 11:44:56 -08:00