From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lukas Wunner Subject: Re: [PATCH 4/6] driver core: Don't leak secondary fwnode on device removal Date: Tue, 30 Aug 2016 11:03:25 +0200 Message-ID: <20160830090325.GA25024@wunner.de> References: <6868582.iUcUV1Tb36@vostro.rjw.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailout1.hostsharing.net ([83.223.95.204]:42579 "EHLO mailout1.hostsharing.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753282AbcH3JDb (ORCPT ); Tue, 30 Aug 2016 05:03:31 -0400 Content-Disposition: inline In-Reply-To: <6868582.iUcUV1Tb36@vostro.rjw.lan> Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: "Rafael J. Wysocki" Cc: linux-efi@vger.kernel.org, Matt Fleming , linux-kernel@vger.kernel.org, Andreas Noever , Pierre Moreau , "Rafael J. Wysocki" , Mika Westerberg , Andy Shevchenko , Greg Kroah-Hartman , linux-acpi@vger.kernel.org On Wed, Aug 17, 2016 at 02:38:50AM +0200, Rafael J. Wysocki wrote: > On Thursday, July 28, 2016 02:25:41 AM Lukas Wunner wrote: > > If device_add_property_set() is called for a device, a secondary fwnode > > is allocated and assigned to the device but currently not freed once the > > device is removed. > > > > This can be triggered on Apple Macs if a Thunderbolt device is plugged > > in on boot since Apple's NHI EFI driver sets a number of properties for > > that device which are leaked on unplug. > > > > Cc: Greg Kroah-Hartman > > Cc: Rafael J. Wysocki > > Cc: Mika Westerberg > > Cc: Andy Shevchenko > > Cc: Andreas Noever > > Signed-off-by: Lukas Wunner > > ACK, or I can apply it directly if you want me to do that. Yes, if you could apply it directly I'd be grateful. Thanks! Lukas