Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp5012856pxb; Mon, 15 Feb 2021 07:19:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJzyrtUmDqbEGAUAqohqf9aWptdYfk1FuFBZdYokU4W2BvNqK2YocOOxejF8zF87r/sgKwZg X-Received: by 2002:a17:907:770d:: with SMTP id kw13mr16396999ejc.219.1613402390744; Mon, 15 Feb 2021 07:19:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613402390; cv=none; d=google.com; s=arc-20160816; b=p0Zc9m/K2+RotddBHSfxbCL3HY6jFDRBSrdwGxoUrRrUOxRSggwp+7ZlmDfmGj/AhK BizSHd6QcIw3l/NqfkFLicHGvxo/PjWi/JFK9sQpn09PRElsJv7vJgzAH71nW8FaR9yH L232r44LiLPmDfg2tIApCSRZ6g0m0eOj7Xj+OMNx+0LGKlt7nLXzCnZw9uEP+QorXuJS vV9cDGgxDuy9JGuZsgYefP833Z4jLnhReD62Gv+xY5ZE5v7sVR/0vTs5ZiWnr4+4S+wf Kh1pDf1l9f3c2o6Grq7cKqdJPVa0M4JG64xKsz1l0aNyAWSLFaR6UsheCrrY/5/A7yen tQog== 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=MQBEYDbZLUspR4Cas4xHhX333Pehv/osTwNAcBMpXuY=; b=CC/Ivuv/7A/K8NYTuy0Z/2V3VqIJmTGcwcu0vCglHb5JVLyjS1QwR9D7WDimIp+8cJ o1LNQixd2DrA2FBrdBodbSNSDgQeYx3Ta90NZa7e0/Jp6j/gJd7NNdeaudB8ZG/14nqW ldFU4XiTSvKibp/ZqpaO90ltinOYCWNMSkn6MZSpwQtPtlOL6cSisHGUYlDClSdxUZMU eZ0Ymjh0IpZxgCFUrpd1wfnMSR3kzb1DalSifaAcYxiH/0mgmlytX0VrQVJUs1eBm/zH PaHmIDLs4ACeE8Rnayhb31WwAzkrb1+sVAM2TuX+Dz0Hhf5EuZBOXDwDISw7U1igvhKH e2Vw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=CQUKDoIc; 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 w17si4991127edx.417.2021.02.15.07.19.27; Mon, 15 Feb 2021 07:19:50 -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=CQUKDoIc; 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 S230098AbhBOPSt (ORCPT + 99 others); Mon, 15 Feb 2021 10:18:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35100 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230031AbhBOPOl (ORCPT ); Mon, 15 Feb 2021 10:14:41 -0500 Received: from mail-pl1-x633.google.com (mail-pl1-x633.google.com [IPv6:2607:f8b0:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D2C04C061756; Mon, 15 Feb 2021 07:14:00 -0800 (PST) Received: by mail-pl1-x633.google.com with SMTP id z7so3893077plk.7; Mon, 15 Feb 2021 07:14:00 -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=MQBEYDbZLUspR4Cas4xHhX333Pehv/osTwNAcBMpXuY=; b=CQUKDoIcRBpm4Oq6Kl/kj7pKKcYjjng52/6QuMBh7xu8ycEXXdPCjDoNHhNjaLzMAp PpoZjlVPrAsNKPFc7EH5vPLJ+r3BNXYfqyK9QoNOCK3IjijK1pV9vFVX+liKR6InbW3j N69n3pzqz0R8HCM1iSX2ek8LAg3dvWnRl+63/g1YPHuOMxzHsocmOPe3A41LPoBy7+k/ MZJkOGkscJQNG3eEKof4/HyYeekmPO7GAVOKWL30SKNu1Y2Fe8znWlpN2fzqLvYcrb1y R0Cj0CuBEl2iw2QhUmqNqZ1sc21Ixmduw3FI9QDc8KcsMXgqT/3ffHiuY4Msf/eAIkv4 ZZhg== 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=MQBEYDbZLUspR4Cas4xHhX333Pehv/osTwNAcBMpXuY=; b=Y114AlawLJCPG1/YkGByDzDUb26FHDJyajrs+kqXjDv1Vqgd0Tc98rFqI6lc2Vd1GX CqLcqyA5BMvt+tupzroSqOACkdZMlr5JeKdviW4S60e6eCM/zHMB6aTDN/r7Oumk0K6m JofW0uSKAkpOQQoJs+KLrbwYgic7ZIVyb3o8MLbdabVE5mjiW8+C1IHUdvIkC5vdwwHW jd6DEVlWOs/E1ItVbmFalMa8NUEy1mVKdeJTwanxlbwSDqU6/8BIUMode+EqZNSAdAdG BJlrWiDnPAEOfGj6W7K0wnZ9uQ//0I7KnJCAZgAkWfNTbJGuy+RK7J2LnVF8jggki1// EufQ== X-Gm-Message-State: AOAM532sNuDatK2DReSjFSKLvvXy9WE+lJwE5ka1QnWqDrQcg/qT+cay y3rJCNZJD75eXt8jb6j27AmDvw0mhy2/TKWqzHA= X-Received: by 2002:a17:90a:1b23:: with SMTP id q32mr16968661pjq.181.1613402040270; Mon, 15 Feb 2021 07:14:00 -0800 (PST) MIME-Version: 1.0 References: <20210208151244.16338-1-calvin.johnson@oss.nxp.com> <20210208151244.16338-16-calvin.johnson@oss.nxp.com> <20210208162831.GM1463@shell.armlinux.org.uk> <20210215123309.GA5067@lsv03152.swis.in-blr01.nxp.com> In-Reply-To: <20210215123309.GA5067@lsv03152.swis.in-blr01.nxp.com> From: Andy Shevchenko Date: Mon, 15 Feb 2021 17:13:44 +0200 Message-ID: Subject: Re: [net-next PATCH v5 15/15] net: dpaa2-mac: Add ACPI support for DPAA2 MAC driver To: Calvin Johnson Cc: Russell King - ARM Linux admin , Grant Likely , "Rafael J . Wysocki" , Jeremy Linton , Andrew Lunn , Florian Fainelli , Cristi Sovaiala , Florin Laurentiu Chiculita , Ioana Ciornei , Madalin Bucur , Heikki Krogerus , Marcin Wojtas , Pieter Jansen Van Vuuren , Jon , Saravana Kannan , Randy Dunlap , Laurentiu Tudor , Linux Kernel Mailing List , "linux.cj" , Diana Madalina Craciun , netdev , linux-arm Mailing List , ACPI Devel Maling List , "David S. Miller" , Ioana Radulescu , Jakub Kicinski Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 15, 2021 at 2:33 PM Calvin Johnson wrote: > On Mon, Feb 08, 2021 at 04:28:31PM +0000, Russell King - ARM Linux admin wrote: ... > I think of_phy_is_fixed_link() needs to be fixed. I'll add below fix. > > --- a/drivers/net/mdio/of_mdio.c > +++ b/drivers/net/mdio/of_mdio.c > @@ -439,6 +439,9 @@ bool of_phy_is_fixed_link(struct device_node *np) > int len, err; > const char *managed; > > + if (!np) > + return false; AFAICS this doesn't add anything: all of the of_* APIs should handle OF nodes being NULL below. > /* New binding */ > dn = of_get_child_by_name(np, "fixed-link"); > if (dn) { -- With Best Regards, Andy Shevchenko