From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752697AbcBWXgM (ORCPT ); Tue, 23 Feb 2016 18:36:12 -0500 Received: from v094114.home.net.pl ([79.96.170.134]:52452 "HELO v094114.home.net.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1752540AbcBWXgK (ORCPT ); Tue, 23 Feb 2016 18:36:10 -0500 From: "Rafael J. Wysocki" To: Heikki Krogerus Cc: Mika Westerberg , Andy Shevchenko , John Youn , linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/2] device property: fix for couple of bugs Date: Wed, 24 Feb 2016 00:37:43 +0100 Message-ID: <2719908.p6aFAYnX7E@vostro.rjw.lan> User-Agent: KMail/4.11.5 (Linux/4.5.0-rc1+; KDE/4.11.5; x86_64; ; ) In-Reply-To: <1456152641-127948-1-git-send-email-heikki.krogerus@linux.intel.com> References: <1456152641-127948-1-git-send-email-heikki.krogerus@linux.intel.com> 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 Monday, February 22, 2016 04:50:39 PM Heikki Krogerus wrote: > Hi, > > The fwnode->secondary is causing problems when a property_set is > providing the primary fwnode. > > Both of these fixes are a bit clumsy looking IMO, but I didn't have > better ideas. I think the second one fixing the use-after-free bug > should ideally be taken care of in set_secondary_fwnode() instead of > device_remove_property_set(), but I didn't have any ideas how to do > that. Can you please CC device property framework patches to linux-acpi? They are somewhat easier to handle this way. Thanks, Rafael