linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Wolfram Sang <wsa@the-dreams.de>
To: laurentiu.tudor@nxp.com
Cc: u.kleine-koenig@pengutronix.de, mojha@codeaurora.org,
	linux-i2c@vger.kernel.org, wsa+renesas@sang-engineering.com,
	linux-imx@nxp.com, kernel@pengutronix.de,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, leoyang.li@nxp.com
Subject: Re: [PATCH v2] i2c: imx: don't leak the i2c adapter on error
Date: Wed, 3 Apr 2019 22:47:56 +0200	[thread overview]
Message-ID: <20190403204756.mbc7zc5klfd5zydg@ninjato> (raw)
In-Reply-To: <20190401101437.9626-1-laurentiu.tudor@nxp.com>

[-- Attachment #1: Type: text/plain, Size: 497 bytes --]

On Mon, Apr 01, 2019 at 01:14:37PM +0300, laurentiu.tudor@nxp.com wrote:
> From: Laurentiu Tudor <laurentiu.tudor@nxp.com>
> 
> Make sure to free the i2c adapter on the error exit path.
> 
> Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
> Reviewed-by: Mukesh Ojha <mojha@codeaurora.org>
> Reviewed-by: Uwe Kleine-Konig <u.kleine-koenig@pengutronix.de>
> Fixes: e1ab9a468e3b ("i2c: imx: improve the error handling in i2c_imx_dma_request()")

Applied to for-current, thanks!


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2019-04-03 20:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-01 10:14 [PATCH v2] i2c: imx: don't leak the i2c adapter on error laurentiu.tudor
2019-04-03 20:47 ` Wolfram Sang [this message]
2019-04-06 15:48   ` Uwe Kleine-König
2019-04-06 15:58     ` 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=20190403204756.mbc7zc5klfd5zydg@ninjato \
    --to=wsa@the-dreams.de \
    --cc=kernel@pengutronix.de \
    --cc=laurentiu.tudor@nxp.com \
    --cc=leoyang.li@nxp.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-i2c@vger.kernel.org \
    --cc=linux-imx@nxp.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mojha@codeaurora.org \
    --cc=u.kleine-koenig@pengutronix.de \
    --cc=wsa+renesas@sang-engineering.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).