summaryrefslogtreecommitdiff
path: root/drivers/net/usb
diff options
context:
space:
mode:
authorAlexey Khoroshilov <khoroshilov@ispras.ru>2015-12-19 12:13:49 (GMT)
committerDavid S. Miller <davem@davemloft.net>2015-12-19 17:58:46 (GMT)
commit45af55006c2c8f49bddc6296224e70d752a1372c (patch)
tree7bf80be87d7ee0b4a152b0dcab87fb5b3b88e777 /drivers/net/usb
parent179ccc0a73641ffd24e44ff10a7bd494efe98d8d (diff)
downloadlinux-45af55006c2c8f49bddc6296224e70d752a1372c.tar.xz
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>
Diffstat (limited to 'drivers/net/usb')
0 files changed, 0 insertions, 0 deletions