Re: [PATCH] dmaengine: at_hdmac: do exception handling appropriately in at_dma_xlate()
From: Vinod Koul <vkoul@kernel.org>
Date: 2020-08-17 05:16:18
Also in:
dmaengine, lkml
From: Vinod Koul <vkoul@kernel.org>
Date: 2020-08-17 05:16:18
Also in:
dmaengine, lkml
On 29-07-20, 20:29, Yu Kuai wrote:
Do several things for exception handing: a. check return value of of_find_device_by_node(). b. call put_device() if memory allocation for 'atslave' failed. c. if dma_request_channel() failed, call put_device() and kfree().
One patch per change please -- ~Vinod _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel