net: macb: add check for dma mapping error in start_xmit()
authorAlexey Khoroshilov <khoroshilov@ispras.ru>
Fri, 18 Nov 2016 22:40:10 +0000 (01:40 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sat, 19 Nov 2016 15:29:49 +0000 (10:29 -0500)
commit178c7ae944444c198a1d9646477ab10d2d51f03e
tree502cbaf24646a93746eb258a7519643acf2b54ba
parentf82ef3e10a870acc19fa04f80ef5877eaa26f41e
net: macb: add check for dma mapping error in start_xmit()

at91ether_start_xmit() does not check for dma mapping errors.

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>
drivers/net/ethernet/cadence/macb.c