Hi Linus, On Thu, Aug 27, 2015 at 04:49:37PM +0100, Javi Merino wrote: > On Tue, Aug 25, 2015 at 07:22:35PM +0100, Javi Merino wrote: > > Commit cf736ea6f902 ("thermal: power_allocator: do not use devm* > > interfaces") forgot to change a devm_kcalloc() to just kcalloc(), but > > it's corresponding devm_kfree() was changed to kfree(). Allocate with > > kcalloc() to match the kfree(). > > > > Fixes: cf736ea6f902 ("thermal: power_allocator: do not use devm* > > interfaces") > > Cc: Dmitry Torokhov <dmitry.torok...@gmail.com> > > Cc: Eduardo Valentin <edubez...@gmail.com> > > Cc: Zhang Rui <rui.zh...@intel.com> > > Signed-off-by: Javi Merino <javi.mer...@arm.com> > > --- > > > > Can this be merged for 4.2, please? I'm having memory problems with > > 4.2-rc8 because of this. > > Please merge this for 4.2 or revert cf736ea6f902 ("thermal: > power_allocator: do not use devm* interfaces")
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? [0] https://patchwork.kernel.org/patch/7072591/ [1] Message-ID: <1440526955-9860-1-git-send-email-javi.mer...@arm.com> Thanks, Javi -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/