1
0
Fork 0
remarkable-linux/drivers/net/ethernet/natsemi
Alexey Khoroshilov 45af55006c natsemi: add checks for dma mapping errors
refill_rx() and start_tx() do not check if mapping dma memory succeed.
The patch adds the checks and failure handling.

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-12-19 12:58:46 -05:00
..
Kconfig drivers/net: remove all references to obsolete Ethernet-HOWTO 2015-06-23 06:50:35 -07:00
Makefile drivers/net: delete all code/drivers depending on CONFIG_MCA 2012-05-17 16:37:41 -04:00
jazzsonic.c net: ethernet: natsemi: drop owner assignment from platform_drivers 2014-10-20 16:21:10 +02:00
macsonic.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
natsemi.c natsemi: add checks for dma mapping errors 2015-12-19 12:58:46 -05:00
ns83820.c net: rename vlan_tx_* helpers since "tx" is misleading there 2015-01-13 17:51:08 -05:00
sonic.c drivers:net: Remove unnecessary OOM messages after netdev_alloc_skb 2013-03-09 16:09:19 -05:00
sonic.h
xtsonic.c xtsonic: add missing platform_set_drvdata() in xtsonic_probe() 2013-11-11 14:02:08 -05:00