Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp666798pxk; Wed, 16 Sep 2020 13:51:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw8x9A0jTWc1rYLRGyjVxAduaIU0uGQKRy0oTuv/1v2sJe2H+jgOTMqwFgzmkamqK+Mu5zR X-Received: by 2002:a50:875c:: with SMTP id 28mr29577955edv.20.1600289491179; Wed, 16 Sep 2020 13:51:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600289491; cv=none; d=google.com; s=arc-20160816; b=xeiH1jTIRbyxdrGE1+6HxaOp/XnUUk/hdgd5Tsi3i5IT/K5MK9YdmHn8uBvjcqDMCQ apcuRFWtJ2y8ZNLr1qUSGJcO0bC4InE0SRzaH/nbBZC4rscm6/Vft2RFmXd/zb84a9cJ CoYhpfsUpNoIumKijoHpvR5fERH9JSzJ1Jp34Fn2kd1IHvfURJBIDDHvvpMN6uiuEaDu nPfyVOSBpAmp0AB4oI/LXibjEh4mMLCAOf+YIXXjgafp0VRjabBYvU6Cii9bv7Po6mUh +ijBqhuKGZWIe238BmGNPRIF2mQwU8K5wlA5HX7bvorvmJQWRMzKF9elyg+cviNo3b+o oQFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:organization:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:ironport-sdr:ironport-sdr; bh=NNEcJ5B4ZOIOVOW1HsIEP6tRkv8ynp63t1rNVBRtIFw=; b=Ft3YU+Q7+J4Leqke17dXxCzgFz2/6Fh8lr1glmIMKa6w/aT8GmMMhuPMAF7pQG/mXD Z97tDZ71Bw228cl4nCBVM/kfbPNPkC9L6IHNdQqRCHZRF/4psdtXP4A/DKKsoywnMmBV Jq61uvfBK7vhFERU92yeodwfMRJ6dmuqiXGuaNQrnmw1bYbV2YnRs0p3Twi+LdTFrzGA Xy1zAAcpggJfNtI2e7GYdluP98VwH6PvfSxcxPJ25j/h7XwHWoFNaFD82kb+yqk2ThdC cGFiPlWo8cDBmV1U+csW+I/70+07J5icuOa1Umbpd2oiVe7jV0fAFHkDaIX3/lsH5In3 8dqA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g8si12801635ejm.344.2020.09.16.13.51.07; Wed, 16 Sep 2020 13:51:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728561AbgIPUsP (ORCPT + 99 others); Wed, 16 Sep 2020 16:48:15 -0400 Received: from mga14.intel.com ([192.55.52.115]:33041 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726669AbgIPRBO (ORCPT ); Wed, 16 Sep 2020 13:01:14 -0400 IronPort-SDR: jKvmMRsbXpN7sZlnSB6ivgwpj7SiQxo79MSBd+Pk3uxHs71THSfZfIfHGPsgNkfrYN1oX6IvIF RCWsokkpCqxg== X-IronPort-AV: E=McAfee;i="6000,8403,9745"; a="158754290" X-IronPort-AV: E=Sophos;i="5.76,433,1592895600"; d="scan'208";a="158754290" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Sep 2020 07:32:47 -0700 IronPort-SDR: NqTeR4wIj1OCxUIlK2a2Me8rV1JTj9i1KRs4rY8sa8onkkOG/Lo1Fpop9ZWNw465PdC1OlCfYo Bo+day95h8xg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,433,1592895600"; d="scan'208";a="336043207" Received: from smile.fi.intel.com (HELO smile) ([10.237.68.40]) by orsmga008.jf.intel.com with ESMTP; 16 Sep 2020 07:32:44 -0700 Received: from andy by smile with local (Exim 4.94) (envelope-from ) id 1kIYUD-00H6OZ-0J; Wed, 16 Sep 2020 17:32:41 +0300 Date: Wed, 16 Sep 2020 17:32:41 +0300 From: Andy Shevchenko To: Dan Scally Cc: Sakari Ailus , gregkh@linuxfoundation.org, rafael@kernel.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, heikki.krogerus@linux.intel.com, kieran.bingham@ideasonboard.com, jorhand@linux.microsoft.com, kitakar@gmail.com Subject: Re: [PATCH v2] software_node: Add support for fwnode_graph*() family of functions Message-ID: <20200916143241.GL3956970@smile.fi.intel.com> References: <20200915232827.3416-1-djrscally@gmail.com> <20200916091707.GL834@valkosipuli.retiisi.org.uk> <7b81d743-736d-62d1-7072-d08759a0d5d7@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7b81d743-736d-62d1-7072-d08759a0d5d7@gmail.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 16, 2020 at 02:22:10PM +0100, Dan Scally wrote: > On 16/09/2020 10:17, Sakari Ailus wrote: > > On Wed, Sep 16, 2020 at 12:28:27AM +0100, Daniel Scally wrote: ... > >> @@ -450,7 +455,7 @@ software_node_get_next_child(const struct fwnode_handle *fwnode, > >> c = list_next_entry(c, entry); > >> else > >> c = list_first_entry(&p->children, struct swnode, entry); > >> - return &c->fwnode; > >> + return software_node_get(&c->fwnode); > > This looks like a bugfix that probably should or could be backported. Could > > you make it a separate patch, with a Fixes: tag? > Yes, sure. That does change how some of the other code would need to > work though if this patch were applied but not the separated one. Sorry; > not sure what's the best way to proceed in that case. Should I just note > that this patch depends on the prior application of the separated one? It's easy to achieve. You may create a series of two, where the second one dependant on the first one and first one has a Fixes tag and subject to backport. I guess that's what Sakari meant. > >> } -- With Best Regards, Andy Shevchenko