]> git.baikalelectronics.ru Git - kernel.git/commit
net: ll_temac: Add more error handling of dma_map_single() calls
authorEsben Haabendal <esben@geanix.com>
Fri, 21 Feb 2020 06:47:33 +0000 (07:47 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Feb 2020 18:58:48 +0000 (10:58 -0800)
commit6f582f82f604de7d17c51fe009a7137efc62ca5d
tree877223e4c03f99ea109ea8cf1d442ea2a955b729
parente7f779418c2d1a2e94da0b5ce2bc438da0ef2859
net: ll_temac: Add more error handling of dma_map_single() calls

This adds error handling to the remaining dma_map_single() calls, so that
behavior is well defined if/when we run out of DMA memory.

Fixes: 7391458cef35 ("net: add Xilinx ll_temac device driver")
Signed-off-by: Esben Haabendal <esben@geanix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/xilinx/ll_temac_main.c