All of lore.kernel.org
 help / color / mirror / Atom feed
From: sameo@linux.intel.com (Samuel Ortiz)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] mfd: ab8500-core: Fix invalid free of devm_ allocated data
Date: Fri, 30 Nov 2012 11:52:09 +0100	[thread overview]
Message-ID: <20121130105209.GL3176@sortiz-mobl> (raw)
In-Reply-To: <1353673123-32340-1-git-send-email-tushar.behera@linaro.org>

Hi Tushar,

On Fri, Nov 23, 2012 at 05:48:43PM +0530, Tushar Behera wrote:
> The objects allocated by devm_* APIs are managed by devres and are
> freed when the device is detached. Hence there is no need to remove
> them explicitly in remove function.
> 
> Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
> ---
>  drivers/mfd/ab8500-core.c |    5 -----
>  1 files changed, 0 insertions(+), 5 deletions(-)
Applied, thanks.

Cheers,
Samuel.

-- 
Intel Open Source Technology Centre
http://oss.intel.com/

WARNING: multiple messages have this Message-ID (diff)
From: Samuel Ortiz <sameo@linux.intel.com>
To: Tushar Behera <tushar.behera@linaro.org>
Cc: linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org, linus.walleij@linaro.org,
	srinidhi.kasagar@stericsson.com, patches@linaro.org
Subject: Re: [PATCH] mfd: ab8500-core: Fix invalid free of devm_ allocated data
Date: Fri, 30 Nov 2012 11:52:09 +0100	[thread overview]
Message-ID: <20121130105209.GL3176@sortiz-mobl> (raw)
In-Reply-To: <1353673123-32340-1-git-send-email-tushar.behera@linaro.org>

Hi Tushar,

On Fri, Nov 23, 2012 at 05:48:43PM +0530, Tushar Behera wrote:
> The objects allocated by devm_* APIs are managed by devres and are
> freed when the device is detached. Hence there is no need to remove
> them explicitly in remove function.
> 
> Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
> ---
>  drivers/mfd/ab8500-core.c |    5 -----
>  1 files changed, 0 insertions(+), 5 deletions(-)
Applied, thanks.

Cheers,
Samuel.

-- 
Intel Open Source Technology Centre
http://oss.intel.com/

  parent reply	other threads:[~2012-11-30 10:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-23 12:18 [PATCH] mfd: ab8500-core: Fix invalid free of devm_ allocated data Tushar Behera
2012-11-23 12:18 ` Tushar Behera
2012-11-28 15:48 ` Linus Walleij
2012-11-28 15:48   ` Linus Walleij
2012-11-30 10:52 ` Samuel Ortiz [this message]
2012-11-30 10:52   ` Samuel Ortiz

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=20121130105209.GL3176@sortiz-mobl \
    --to=sameo@linux.intel.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /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.