Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753018AbbH2RzH (ORCPT ); Sat, 29 Aug 2015 13:55:07 -0400 Received: from mail-ig0-f173.google.com ([209.85.213.173]:35364 "EHLO mail-ig0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752714AbbH2RzF (ORCPT ); Sat, 29 Aug 2015 13:55:05 -0400 MIME-Version: 1.0 In-Reply-To: <20150829122737.GA2840@e104805> References: <1440526955-9860-1-git-send-email-javi.merino@arm.com> <20150827154936.GH5653@e104805> <20150829122737.GA2840@e104805> Date: Sat, 29 Aug 2015 10:55:03 -0700 X-Google-Sender-Auth: -I7K0MgWXnIphlhGgWJSjipLYcw Message-ID: Subject: Re: [PATCH] thermal: power_allocator: allocate with kcalloc what you free with kfree From: Linus Torvalds To: Javi Merino Cc: "edubezval@gmail.com" , "linux-pm@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Dmitry Torokhov , Zhang Rui Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 688 Lines: 16 On Sat, Aug 29, 2015 at 5:27 AM, Javi Merino 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/