Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1811641pxb; Mon, 8 Mar 2021 07:01:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJyKmqrwp+SZuzkT/C8mnUWPlFwBSPvcrmNo+3kd8jdnRCvBhZf+52cqcnkt+ILzzMdk8/VC X-Received: by 2002:aa7:cd63:: with SMTP id ca3mr16391823edb.265.1615215717722; Mon, 08 Mar 2021 07:01:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615215717; cv=none; d=google.com; s=arc-20160816; b=b9OfZaRTOmiIrMljaYkDrPdrEbDcZSiwUhSUf7Z0yF/MBTdltCcyIPeRgOH9LGlQUv Eh0hc0Hv/fFed7pOGvx6Dzu962ay5o2z2I7JzdJ/5oiXWrD1tL4TFDNPBSDhyp3hRslF Nfbf4Pf3fkQvvWxLPKmGFxiZX4X+JnFrdZijpg/Zys/4CkXMdEgvEvpXW/s3fmtE3veb 7GBy2Vx3vPIyMjtWgr0jZKQCpnskeQJVyfH3HV6CO0LW1Jyn7ZQHTkJxMQeRF1uQfifp glaZLhn6nbmS73qlQls1IXzTUW7v0b0iOVlCGuZkRjY0xCUdJiKm3PCzdqpJJlmcG2fX a9PQ== 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:dkim-signature; bh=1v0ao3b2/Ux4Trc+2qyo6Snq2zmvaCA06fjB7BxQBtk=; b=CZODbH151HXbcMCnAe4I48jPUnquSOQgWWY7ZchAIXcpvoOetBimEGNn8wYVxBfXXA 5MaKBxvU69B9ia/XgKyRHmYpfbP5hdDtlDi9g8SLj9gGL5b5CI78hIL1lsi3H4qxtmXd 0zKXZm+QfwNgYa3aGELijSWrUdEUhrwSRZl7Q3wcEh029+cPk4UpSGz6HeMZm5uPz3Q7 QP7xdIj3o/+yyhdasVkX37CbbgGe1wKPBbqmvsvOepjyse46vYx+Tl1+tJgXllDb6z1V 8e9HMBURm9O+wV/+VsX/wjDKKEqELJUX+4dZjFZhmbp2o6tr3GYqn9R4s72Rd1w5v28m frTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=UN2m03gJ; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x11si4014252edd.260.2021.03.08.07.01.29; Mon, 08 Mar 2021 07:01:57 -0800 (PST) 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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=UN2m03gJ; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229690AbhCHO6U (ORCPT + 99 others); Mon, 8 Mar 2021 09:58:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34970 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231295AbhCHO5w (ORCPT ); Mon, 8 Mar 2021 09:57:52 -0500 Received: from mail-pj1-x1030.google.com (mail-pj1-x1030.google.com [IPv6:2607:f8b0:4864:20::1030]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EF05EC06174A; Mon, 8 Mar 2021 06:57:51 -0800 (PST) Received: by mail-pj1-x1030.google.com with SMTP id ga23-20020a17090b0397b02900c0b81bbcd4so3118845pjb.0; Mon, 08 Mar 2021 06:57:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=1v0ao3b2/Ux4Trc+2qyo6Snq2zmvaCA06fjB7BxQBtk=; b=UN2m03gJoZakMr0gOlQjQr5POq2Jz4sA0ztlFhKdsp4HXOGelbToq5jKRqnI3v7zjc TVRSriUUvtKcFRhvvKGNdcmkwyI/o3i5ZzMytKZaF1m7DznLjrZ8iJCqLWYmgJnjuV3L mTQArkXhtOCZxDqQEGN7AxVsZTZL4ah2L8Uh9Cp1OrQQgVe2fpmMYPzG0w/sfLvv96yO 56x52+9LalsUGPXMQ9bwE7fM/f7ybD/qobWl3ryinOVUrWnrQnoaHThwxojB8VgJ0h2D BdFrVGbwBMi/tCtYP27qFCuVTn6pG64SMtEwJEcOSie7MTdvPvfR5V5OmFVncRm1i4R9 xB0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=1v0ao3b2/Ux4Trc+2qyo6Snq2zmvaCA06fjB7BxQBtk=; b=dVva7WWv86XP5l8ZxqUZbzAghRfrGXm7Z2QYpQ+SQjUE7P3l+tS2h2Za6Bqc5Bzstn V5bXhnTul7Y6duQuFjj0d7uV+raZVB4H89pqgmD8lz3d6bIlwsawmDdjNqkFoqLDmZ4C XBm7XP7xnPrV3GijBNmMhwkuJ2Bzx3vE+T/24JpgL4efZgLh4eiHMSsFN6EmArO9IiKu MfbKZ/XFrywC98xJmcAA330ATCpGILuOGKgwCbmzMNCB40lvxXfy3ayqAH3kLajEV3gq 9TXO89rIBvUR01Kq+BK+8KBKk6tGZS3WNn0GHpHgPMhkbkVQfd3K+1jfG3V7x34Q43lf 9YxA== X-Gm-Message-State: AOAM530GSInHEGhMA+wZ7MYoYderLV5/8vFLUVxpGJ4tPvDKSmginjPh 0aC47mlhFdtxIPmFSOH/fUU37LMGHrmyxLIkOVs= X-Received: by 2002:a17:902:70c7:b029:e3:71cf:33d2 with SMTP id l7-20020a17090270c7b02900e371cf33d2mr21445892plt.21.1615215471340; Mon, 08 Mar 2021 06:57:51 -0800 (PST) MIME-Version: 1.0 References: <20210218052654.28995-1-calvin.johnson@oss.nxp.com> <20210218052654.28995-11-calvin.johnson@oss.nxp.com> <20210308140936.GA2740@lsv03152.swis.in-blr01.nxp.com> In-Reply-To: <20210308140936.GA2740@lsv03152.swis.in-blr01.nxp.com> From: Andy Shevchenko Date: Mon, 8 Mar 2021 16:57:35 +0200 Message-ID: Subject: Re: [net-next PATCH v6 10/15] net: mdio: Add ACPI support code for mdio To: Calvin Johnson Cc: Grant Likely , "Rafael J . Wysocki" , Jeremy Linton , Andrew Lunn , Florian Fainelli , Russell King - ARM Linux admin , Cristi Sovaiala , Florin Laurentiu Chiculita , Ioana Ciornei , Madalin Bucur , Heikki Krogerus , Marcin Wojtas , Pieter Jansen Van Vuuren , Jon , Saravana Kannan , Randy Dunlap , Linux Kernel Mailing List , netdev , ACPI Devel Maling List , Laurentiu Tudor , Diana Madalina Craciun , linux-arm Mailing List , "linux.cj" , "David S. Miller" , Heiner Kallweit , Jakub Kicinski Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 8, 2021 at 4:11 PM Calvin Johnson wrote: > On Thu, Feb 18, 2021 at 05:08:05PM +0200, Andy Shevchenko wrote: > > On Thu, Feb 18, 2021 at 7:28 AM Calvin Johnson > > wrote: > > > Define acpi_mdiobus_register() to Register mii_bus and create PHYs for > > > each ACPI child node. > > > > > +#include > > > +#include > > > > Perhaps it's better to provide the headers that this file is direct > > user of, i.e. > > bits.h > > dev_printk.h > > Looks like device.h needs to be used instead of dev_printk.h. Please > let me know if you've a different opinion. I don't see the user of device.h. dev_printk.h is definitely in use here... Do you see a user for device.h? Which line in your code requires it? It might be that I don't see something quite obvious... > > module.h > > types.h > > > > The rest seems fine because they are guaranteed to be included by > > acpi.h (IIUC about fwnode API and acpi_mdio includes MDIO PHY APIs). -- With Best Regards, Andy Shevchenko