Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp5881101iog; Thu, 23 Jun 2022 07:11:46 -0700 (PDT) X-Google-Smtp-Source: AGRyM1s/KZIwHUbcVqBvdABqRmG+MtlldozirYCjRd1+eYg/a1Lv/KJmLoZc95K6LZe1gbbG2+Vh X-Received: by 2002:a17:906:478e:b0:722:f84d:159f with SMTP id cw14-20020a170906478e00b00722f84d159fmr6868450ejc.182.1655993506611; Thu, 23 Jun 2022 07:11:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655993506; cv=none; d=google.com; s=arc-20160816; b=ZGekrjLdM/uKZk+CHwhK3KZbUhIx7oiQop+qztOSaNqp+YJvxVbkieR+EOymzdI+0z DkH638kecN8+sxsX0cSAckdahjQNdfOPHmogy/+kKhYJd5oCj/z65L0eHAFHSOq4qasN HsquPFwPoSo/8EEpaggIGGObXwYJ1rJgSkEO1jpT648ILbYoYhmCekwbQZRtq0bb1/4C FNCfv+zwbKGz6AsNcNSBOW/bRgNsmmTDPr4uh+1q9cX+B6k0XZx3syZpODsjgbhJ7lT7 xznFE7IoiSVoPwu87HZcnRZAEntxcnrYF02CmcaU0J5OIkWvNUYUd0OFHGgjcW6urlym QrhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=nxTVkuTRwT7zaUdBEZjmRQEHWHA9MbFr7dx9PzbNS8w=; b=qymdzJlLRNj1EjdWiH0s6mcr2w4w2ak7kK06HR8wmui5OZGQaFoEXh0y6nodN3Qvlp n4SbXX81Pljl5iG03dCJa5j26La16ceXarkFn1h04cQMJBsfbnEGMaoIE4sHhioqNKDK 1ZvPWRq/my2hA7ZTge27u5SAgL/pf0uKvOR9kE7KjjGZ5hLmc4NKtHV4hCPp5YJ10VpG vFU3eQCPb+WpOrUwTfgHleRe8BSXCFWMd260C72WLrBp8EhibnUXEuc+T654+5pAEOYb 12ZigmTKfTGezaXuoZ0BkacnSEZgdmAS0O2TdFg/Og1iE117RdjB+2XI7vkXTX3uKkf9 um8A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gv43-20020a1709072beb00b00722ea389993si7712270ejc.279.2022.06.23.07.11.19; Thu, 23 Jun 2022 07:11:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231339AbiFWN1J (ORCPT + 99 others); Thu, 23 Jun 2022 09:27:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38582 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229761AbiFWN1I (ORCPT ); Thu, 23 Jun 2022 09:27:08 -0400 Received: from mail-yb1-f175.google.com (mail-yb1-f175.google.com [209.85.219.175]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A8CFD49CA4; Thu, 23 Jun 2022 06:27:07 -0700 (PDT) Received: by mail-yb1-f175.google.com with SMTP id q132so2277258ybg.10; Thu, 23 Jun 2022 06:27:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=nxTVkuTRwT7zaUdBEZjmRQEHWHA9MbFr7dx9PzbNS8w=; b=aumTZ1dYKWO6G3HKFPLkcGLIxORRpWlcYb4YSk99REeUE7MLb9DjLSTwSLzKIxRYKp f+e+yKjUPoyq+p+QvnCaZCW+ke//fNuSJMXiqYnK29BUSTa0B1tPsZYF8r7TTjAqiEFo rblK4QrzdC/1BClJ5cgjkHGdy1BWezfjg2rfPvv9RZMF3gQTDCGhtFB+BYVNWwqM+XD3 47wh5WKvVE70ShI0+5BgXnfm5K7jioy0xe0scdfzAEjB6YrdtOzNlyg7tNdijltxXcBU XOhm+wbIe5Ql/OpDQSNKQPi9r74GjgGvJG/Ge/BXrtR3LhlUOlJMMsfYH7SLtFtg/q/x hgJw== X-Gm-Message-State: AJIora/D2EZHiUrYRIKdWbVY4hzj2uRbQhghLfsF8V7k5b8vkHeCJq1e UkdU5WCW/rOcC8frXiVcXf2hshO5UP7ny5iPjU/ZQoWk X-Received: by 2002:a25:6b50:0:b0:64f:4b33:664 with SMTP id o16-20020a256b50000000b0064f4b330664mr9743130ybm.153.1655990826869; Thu, 23 Jun 2022 06:27:06 -0700 (PDT) MIME-Version: 1.0 References: <1843211.tdWV9SEqCh@kreacher> <2653857.mvXUDI8C0e@kreacher> <9017824.rMLUfLXkoz@kreacher> In-Reply-To: From: "Rafael J. Wysocki" Date: Thu, 23 Jun 2022 15:26:56 +0200 Message-ID: Subject: Re: [PATCH v2 14/16] soundwire: Use acpi_dev_for_each_child() To: Vinod Koul Cc: "Rafael J. Wysocki" , "Rafael J. Wysocki" , Linux ACPI , LKML , Linux PM , Andy Shevchenko , Mika Westerberg , Hans de Goede , Sakari Ailus , Bard Liao , Pierre-Louis Bossart , Sanyog Kale , "moderated list:SOUND - SOC LAYER / DYNAMIC AUDIO POWER MANAGEM..." Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 23, 2022 at 2:41 PM Vinod Koul wrote: > > On 23-06-22, 14:29, Rafael J. Wysocki wrote: > > On Thu, Jun 23, 2022 at 10:10 AM Vinod Koul wrote: > > > > > > On 13-06-22, 20:35, Rafael J. Wysocki wrote: > > > > From: Rafael J. Wysocki > > > > > > > > Instead of walking the list of children of an ACPI device directly, > > > > use acpi_dev_for_each_child() to carry out an action for all of > > > > the given ACPI device's children. > > > > > > > > This will help to eliminate the children list head from struct > > > > acpi_device as it is redundant and it is used in questionable ways > > > > in some places (in particular, locking is needed for walking the > > > > list pointed to it safely, but it is often missing). > > > > > > Applied, thanks > > > > Thanks, but the export of acpi_dev_for_each_child() is being added by > > one of the previous patches in the series, so this one will not > > compile without the rest of the series in the modular case. > > Aha, I checked the symbol exists and my test build passed! > > > > Is this not a problem? > > Yes indeed, so can you give a tag for that and or would you like to taje > this thru ACPI tree, in that case I'll take it. > Acked-By: Vinod Koul Thank you!