kfree in clkdev_drop()

Russell King - ARM Linux linux at arm.linux.org.uk
Wed Jan 26 15:45:21 EST 2011


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.



More information about the linux-arm-kernel mailing list