From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.7 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C0A3CC433E6 for ; Mon, 28 Dec 2020 10:15:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 879C522B2E for ; Mon, 28 Dec 2020 10:15:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727199AbgL1KPP (ORCPT ); Mon, 28 Dec 2020 05:15:15 -0500 Received: from mga11.intel.com ([192.55.52.93]:30884 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727013AbgL1KPN (ORCPT ); Mon, 28 Dec 2020 05:15:13 -0500 IronPort-SDR: HBP2g1Q93KKK65JbxiSPMynVPbZOitzEy5YfqrGjZV4VXGO1AhB9SLujPmdc148flvUXdGatzr iEUKZxLb/iQw== X-IronPort-AV: E=McAfee;i="6000,8403,9847"; a="172857407" X-IronPort-AV: E=Sophos;i="5.78,454,1599548400"; d="scan'208";a="172857407" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Dec 2020 02:14:32 -0800 IronPort-SDR: 2o4QrVc5rt8K5snm4jNOP8DVG+i65S6cUj1QRCuntb4Jlr6nOgSwGZOxSK/8GtFxZXGVM90fgy 5VWJOoopVeow== X-IronPort-AV: E=Sophos;i="5.78,454,1599548400"; d="scan'208";a="384530659" Received: from smile.fi.intel.com (HELO smile) ([10.237.68.40]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Dec 2020 02:14:25 -0800 Received: from andy by smile with local (Exim 4.94) (envelope-from ) id 1ktpYk-000CE8-13; Mon, 28 Dec 2020 12:15:26 +0200 Date: Mon, 28 Dec 2020 12:15:26 +0200 From: Andy Shevchenko To: David Laight Cc: 'Daniel Scally' , Linux Kernel Mailing List , ACPI Devel Maling List , Linux Media Mailing List , "devel@acpica.org" , "Rafael J. Wysocki" , Len Brown , Greg Kroah-Hartman , Yong Zhi , Sakari Ailus , Bingbu Cao , Tian Shu Qiu , Mauro Carvalho Chehab , Robert Moore , Erik Kaneda , Petr Mladek , Steven Rostedt , Sergey Senozhatsky , Rasmus Villemoes , Laurent Pinchart , Jacopo Mondi , "kieran.bingham+renesas@ideasonboard.com" , Hans Verkuil , Marco Felsch , "niklas.soderlund+renesas@ragnatech.se" , Steve Longerbeam , "Krogerus, Heikki" , Linus Walleij , kernel test robot , Dan Carpenter , Laurent Pinchart Subject: Re: [PATCH v3 05/14] software_node: unregister software_nodes in reverse order Message-ID: <20201228101526.GV4077@smile.fi.intel.com> References: <20201224010907.263125-1-djrscally@gmail.com> <20201224010907.263125-6-djrscally@gmail.com> <2b415312-fe30-c73b-0077-4ec2a07116df@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Dec 24, 2020 at 06:36:10PM +0000, David Laight wrote: > From: Daniel Scally > > Sent: 24 December 2020 14:14 > ... > > >> The array will be unwound in reverse order (i.e. last entry first). If > > >> any member of the array is a child of another member then the child must > > > children ? > > > > Yes, you are right of course. > > The second 'child' is a back-reference to 'any member' so is singular > so 'child' is correct. > 'the child' could be replaced by 'it' > > You could have: > If any members of the array are children of another member then the > children must appear later in the list. Works for me! Dan, can you consider David's proposal? -- With Best Regards, Andy Shevchenko