From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753756AbcBZIC6 (ORCPT ); Fri, 26 Feb 2016 03:02:58 -0500 Received: from mga14.intel.com ([192.55.52.115]:40727 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750935AbcBZIC5 (ORCPT ); Fri, 26 Feb 2016 03:02:57 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,498,1449561600"; d="scan'208";a="921565596" Date: Fri, 26 Feb 2016 10:02:52 +0200 From: Heikki Krogerus To: "Rafael J. Wysocki" Cc: Mika Westerberg , Andy Shevchenko , John Youn , linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/2] device property: fix for couple of bugs Message-ID: <20160226080252.GC29434@kuha.fi.intel.com> References: <1456152641-127948-1-git-send-email-heikki.krogerus@linux.intel.com> <2719908.p6aFAYnX7E@vostro.rjw.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2719908.p6aFAYnX7E@vostro.rjw.lan> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 24, 2016 at 12:37:43AM +0100, Rafael J. Wysocki wrote: > 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. Will do. Thanks, -- heikki