]> git.baikalelectronics.ru Git - kernel.git/commit
net: eth: davicnci_cpdma: check dma map error
authorSebastian Siewior <bigeasy@linutronix.de>
Thu, 20 Jun 2013 14:58:45 +0000 (16:58 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Jun 2013 07:07:30 +0000 (00:07 -0700)
commit1f745577df0a7a8e62d7e2e427200115523aafcf
tree13ebc4335959adc0abe2ea414a77107c8a0acbe7
parent7bc03e749450876eb7d97b75af0a461d182de9e8
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: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/davinci_cpdma.c