The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Samuel Ortiz <sameo@linux.intel.com>
To: Andreas Pretzsch <apr@cn-eng.de>
Cc: Axel Lin <axel.lin@gmail.com>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] mfd: Use devm_* APIs for mc13xxx: remove leftover kfree
Date: Wed, 19 Sep 2012 13:28:05 +0200	[thread overview]
Message-ID: <20120919112805.GH8138@sortiz-mobl> (raw)
In-Reply-To: <1347898641-17575-1-git-send-email-apr@cn-eng.de>

Hi Andreas,

On Mon, Sep 17, 2012 at 06:17:21PM +0200, Andreas Pretzsch wrote:
> commit e7c706b1e5ccf28eaaf76c7a4613e80b0ca52863 migrated the allocation
> of struct mc13xxx to devm_* functions, but left a kfree(mc13xxx) in the
> mc13xxx_common_init error path. Remove it to prevent memory corruption.
> 
> Signed-off-by: Andreas Pretzsch <apr@cn-eng.de>
> ---
>  drivers/mfd/mc13xxx-core.c |    1 -
>  1 file changed, 1 deletion(-)
Patch applied, thanks.

Cheers,
Samuel.

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

      parent reply	other threads:[~2012-09-19 11:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-17 16:17 [PATCH] mfd: Use devm_* APIs for mc13xxx: remove leftover kfree Andreas Pretzsch
2012-09-18  0:58 ` Axel Lin
2012-09-19 11:28 ` Samuel Ortiz [this message]

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=20120919112805.GH8138@sortiz-mobl \
    --to=sameo@linux.intel.com \
    --cc=apr@cn-eng.de \
    --cc=axel.lin@gmail.com \
    --cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox