linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: plagnioj@jcrosoft.com (Jean-Christophe PLAGNIOL-VILLARD)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: fix a kfree address in clkdev code
Date: Fri, 17 Sep 2010 12:15:17 +0200	[thread overview]
Message-ID: <20100917101517.GC13002@game.jcrosoft.org> (raw)
In-Reply-To: <Pine.LNX.4.64.1009171120130.4988@axis700.grange>

On 11:24 Fri 17 Sep     , Guennadi Liakhovetski wrote:
> kfree() in clkdev_drop() function should actually be called with an address of
> a struct clk_lookup_alloc object, and not struct clk_lookup, as presently done.
> This just happens to work, because "struct clk_lookup cl" is the first
> member in struct clk_lookup_alloc.
> 
> Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
> ---
> 
> Jean-Christophe, as I said, this is a purely academic patch, I'll send a 
> similar one to sh, but if your consolidation patch is accepted for 2.6.37, 
I follow the sh too :)
> maybe you can just adjust yours to get to the desired result. If, however, 
> these two patches are merged into 2.6.36, you'll need slightly larger 
> adjustments to your patch, in both cases trivial though.
ok I'll update if need it

Best Regards,
J.

      reply	other threads:[~2010-09-17 10:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-17  9:24 [PATCH] ARM: fix a kfree address in clkdev code Guennadi Liakhovetski
2010-09-17 10:15 ` Jean-Christophe PLAGNIOL-VILLARD [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=20100917101517.GC13002@game.jcrosoft.org \
    --to=plagnioj@jcrosoft.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 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).