From: Wolfram Sang <wsa@the-dreams.de>
To: Gao Pan <pandy.gao@nxp.com>
Cc: u.kleine-koenig@pengutronix.de, linux-i2c@vger.kernel.org,
frank.li@nxp.com, fugang.duan@nxp.com, kernel@pengutronix.de
Subject: Re: [Patch v1] imx: i2c: fix i2c resource leak with dma transfer
Date: Sun, 10 Jan 2016 10:07:42 +0100 [thread overview]
Message-ID: <20160110090742.GG1526@katana> (raw)
In-Reply-To: <1452231195-18425-1-git-send-email-pandy.gao@nxp.com>
[-- Attachment #1: Type: text/plain, Size: 418 bytes --]
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@freescale.com>
> Signed-off-by: Fugang Duan <B38611@freescale.com>
Applied to for-next, thanks!
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
next prev parent reply other threads:[~2016-01-10 9:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-08 5:33 [Patch v1] imx: i2c: fix i2c resource leak with dma transfer Gao Pan
2016-01-10 9:07 ` Wolfram Sang [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-12-02 9:52 [Patch V1] " Gao Pan
2016-01-04 19:32 ` Wolfram Sang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160110090742.GG1526@katana \
--to=wsa@the-dreams.de \
--cc=frank.li@nxp.com \
--cc=fugang.duan@nxp.com \
--cc=kernel@pengutronix.de \
--cc=linux-i2c@vger.kernel.org \
--cc=pandy.gao@nxp.com \
--cc=u.kleine-koenig@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.