From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753548AbcHQAdW (ORCPT ); Tue, 16 Aug 2016 20:33:22 -0400 Received: from cloudserver094114.home.net.pl ([79.96.170.134]:59365 "HELO cloudserver094114.home.net.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1752152AbcHQAdU (ORCPT ); Tue, 16 Aug 2016 20:33:20 -0400 From: "Rafael J. Wysocki" To: Lukas Wunner 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 Subject: Re: [PATCH 4/6] driver core: Don't leak secondary fwnode on device removal Date: Wed, 17 Aug 2016 02:38:50 +0200 Message-ID: <6868582.iUcUV1Tb36@vostro.rjw.lan> User-Agent: KMail/4.11.5 (Linux/4.8.0-rc1+; KDE/4.11.5; x86_64; ; ) In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Thanks, Rafael