Re: [Patch v1] imx: i2c: fix i2c resource leak with dma transfer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jan 08, 2016 at 01:33:15PM +0800, Gao Pan wrote:
> In i2c_imx_dma_xfer(), when dmaengine_submit() returns error,
> the context goto label err_submit and then return. However, the
> memory allocated for txdesc has not been freed yet, which
> leads to resource leak.
> 
> Signed-off-by: Gao Pan <b54642@xxxxxxxxxxxxx>
> Signed-off-by: Fugang Duan <B38611@xxxxxxxxxxxxx>

Applied to for-next, thanks!

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux