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)
commitd07c849cd2b97d6809430dfb7e738ad31088037a
tree877223e4c03f99ea109ea8cf1d442ea2a955b729
parent84823ff80f7403752b59e00bb198724100dc611c
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: 92744989533c ("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