linux/drivers/net/ethernet/amd
YueHaibing b24dbfe9ce amd-xgbe: use dma_mapping_error to check map errors
The dma_mapping_error() returns true or false, but we want
to return -ENOMEM if there was an error.

Fixes: 174fd2597b ("amd-xgbe: Implement split header receive support")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-07-25 21:17:17 -07:00
..
xgbe amd-xgbe: use dma_mapping_error to check map errors 2018-07-25 21:17:17 -07:00
7990.c
7990.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
a2065.c drivers/net: amd: Convert timers to use timer_setup() 2017-10-28 19:09:49 +09:00
a2065.h
am79c961a.c drivers/net: amd: Convert timers to use timer_setup() 2017-10-28 19:09:49 +09:00
am79c961a.h drivers/net: amd: Convert timers to use timer_setup() 2017-10-28 19:09:49 +09:00
amd8111e.c net: amd8111e: remove redundant duplicated if statement 2018-04-25 14:11:27 -04:00
amd8111e.h scripts/spelling.txt: add regsiter -> register spelling mistake 2017-05-08 17:15:13 -07:00
ariadne.c net: amd: constify zorro_device_id 2017-08-22 14:35:36 -07:00
ariadne.h
atarilance.c format-security: move static strings to const 2017-05-08 17:15:14 -07:00
au1000_eth.c au1000_eth: switch to dma_alloc_attrs 2017-08-29 10:03:27 +02:00
au1000_eth.h
declance.c drivers/net: amd: Convert timers to use timer_setup() 2017-10-28 19:09:49 +09:00
hplance.c net: deprecate eth_change_mtu, remove usage 2016-10-13 09:36:57 -04:00
hplance.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Kconfig net: prevent ISA drivers from building on PPC32 2018-07-22 11:12:29 -07:00
lance.c treewide: kmalloc() -> kmalloc_array() 2018-06-12 16:19:22 -07:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mvme147.c net: deprecate eth_change_mtu, remove usage 2016-10-13 09:36:57 -04:00
ni65.c Annotate hardware config module parameters in drivers/net/ethernet/ 2017-04-20 12:02:32 +01:00
ni65.h
nmclan_cs.c net: nmlan_cs: Use net_device_stats from struct net_device 2017-04-07 07:03:33 -07:00
pcnet32.c pcnet32: add an error handling path in pcnet32_probe_pci() 2018-05-22 15:40:15 -04:00
sun3lance.c format-security: move static strings to const 2017-05-08 17:15:14 -07:00
sunlance.c drivers/net: amd: Convert timers to use timer_setup() 2017-10-28 19:09:49 +09:00