Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754909AbZGJRhi (ORCPT ); Fri, 10 Jul 2009 13:37:38 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752643AbZGJRhR (ORCPT ); Fri, 10 Jul 2009 13:37:17 -0400 Received: from kroah.org ([198.145.64.141]:35541 "EHLO coco.kroah.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751223AbZGJRhP (ORCPT ); Fri, 10 Jul 2009 13:37:15 -0400 Date: Fri, 10 Jul 2009 10:36:49 -0700 From: Greg KH To: Ming Lei Cc: linux-kernel@vger.kernel.org, catalin.marinas@arm.com, dwmw2@infradead.org, kay.sievers@vrfy.org Subject: Re: [PATCH] driver core:firmware_class:fix memory leak of page pointers array Message-ID: <20090710173649.GB3687@kroah.com> References: <1247098591-4887-1-git-send-email-tom.leiming@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 921 Lines: 26 On Thu, Jul 09, 2009 at 08:20:48AM +0800, Ming Lei wrote: > 2009/7/9 : > > From: Ming Lei > > > > The page pointers array is allocated in fw_realloc_buffer() called by > > firmware_data_write(), and should be freed in release function of firmware > > device. > > > > Signed-off-by:Ming Lei > > Reported-by:Catalin Marinas > > Acked-by: David Woodhouse > > --- > This patch is against Catalin Marinas's patch: > [PATCH] Free struct device in fw_dev_release() Hm, I never got a final version of that patch, care to send it to me? thanks, greg k-h -- 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/