linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: linux@arm.linux.org.uk (Russell King - ARM Linux)
To: linux-arm-kernel@lists.infradead.org
Subject: kfree in clkdev_drop()
Date: Wed, 26 Jan 2011 20:45:21 +0000	[thread overview]
Message-ID: <20110126204521.GA15670@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <1B26E9BD9AEAAE46A7BDAD7754D0432CDE18D6CB6A@SJEXCHCCR02.corp.ad.broadcom.com>

On Wed, Dec 01, 2010 at 10:50:17AM -0800, Wei Zhong wrote:
> Hi,
> 
> For kernel 2.6.36, clkdev_drop() in arch/arm/common/clkdev.c,
> shouldn't it be
> 
> kfree(container_of(cl, struct clk_lookup_alloc, cl));

It ought to be if the code was to be changed.

      reply	other threads:[~2011-01-26 20:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-01 18:50 kfree in clkdev_drop() Wei Zhong
2011-01-26 20:45 ` Russell King - ARM Linux [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=20110126204521.GA15670@n2100.arm.linux.org.uk \
    --to=linux@arm.linux.org.uk \
    --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).