Re: [PATCH] thermal: power_allocator: allocate with kcalloc what you free with kfree
From: Linus Torvalds
Date: Sat Aug 29 2015 - 13:55:14 EST
On Sat, Aug 29, 2015 at 5:27 AM, Javi Merino <javi.merino@xxxxxxx> wrote:
>
> cf736ea6f902 ("thermal: power_allocator: do not use devm*
> interfaces") was merged for 4.2-rc8. It leaves an allocation of
> memory with devm_kcalloc() that is then freed with kfree(). The
> patch at the top of the thread[0][1] fixes this. Can you either
> merge this patch or revert cf736ea6f902 for 4.2?
Applied the patch. Thanks,
Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/