]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitee62c4085470323d382d8cb3daa7f3137e69df1c
tree502cbaf24646a93746eb258a7519643acf2b54ba
parentfb201ca1bd063af6bc0034e0576b0014fc559a36
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