* kfree in clkdev_drop()
@ 2010-12-01 18:50 Wei Zhong
2011-01-26 20:45 ` Russell King - ARM Linux
0 siblings, 1 reply; 2+ messages in thread
From: Wei Zhong @ 2010-12-01 18:50 UTC (permalink / raw)
To: linux-arm-kernel
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));
Thanks,
Wei
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20101201/94e8dd4f/attachment-0001.html>
^ permalink raw reply [flat|nested] 2+ messages in thread
* kfree in clkdev_drop()
2010-12-01 18:50 kfree in clkdev_drop() Wei Zhong
@ 2011-01-26 20:45 ` Russell King - ARM Linux
0 siblings, 0 replies; 2+ messages in thread
From: Russell King - ARM Linux @ 2011-01-26 20:45 UTC (permalink / raw)
To: linux-arm-kernel
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-01-26 20:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-01 18:50 kfree in clkdev_drop() Wei Zhong
2011-01-26 20:45 ` Russell King - ARM Linux
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).