linux/drivers/net/ethernet/natsemi
Finn Thain 26de0b76d9 net/sonic: Use dma_mapping_error()
With CONFIG_DMA_API_DEBUG=y, calling sonic_open() produces the
message, "DMA-API: device driver failed to check map error".
Add the missing dma_mapping_error() call.

Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Acked-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-05-31 14:17:33 -04:00
..
jazzsonic.c net/sonic: Replace custom debug logging with netif_* calls 2018-02-26 14:40:02 -05:00
Kconfig ethernet: natsemi: correct spelling 2018-03-06 11:14:08 -05:00
macsonic.c net/sonic: Replace custom debug logging with netif_* calls 2018-02-26 14:40:02 -05:00
Makefile ethernet: natsemi: correct spelling 2018-03-06 11:14:08 -05:00
natsemi.c drivers/net: natsemi: Convert timers to use timer_setup() 2017-10-28 19:09:49 +09:00
ns83820.c drivers/net: natsemi: Convert timers to use timer_setup() 2017-10-28 19:09:49 +09:00
sonic.c net/sonic: Use dma_mapping_error() 2018-05-31 14:17:33 -04:00
sonic.h net/sonic: Replace custom debug logging with netif_* calls 2018-02-26 14:40:02 -05:00
xtsonic.c net/sonic: Replace custom debug logging with netif_* calls 2018-02-26 14:40:02 -05:00