Skip to content
Commit 14bd0769 authored by Sebastian Siewior's avatar Sebastian Siewior Committed by David S. Miller
Browse files

net: eth: davicnci_cpdma: check dma map error



Since the DMA mapping may fail the caller should check the return value.

Cc: Mugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: default avatarSebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent db4e9b2b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment