Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp2718538ybp; Thu, 10 Oct 2019 11:31:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqx380LrxZPuXEkJUbidwGpASGt7wPvWGnN6qLyfT5FeJnIE372GWHqs/Fl7K/GzwMcj2Iwk X-Received: by 2002:a05:6402:68b:: with SMTP id f11mr9286428edy.173.1570732263740; Thu, 10 Oct 2019 11:31:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570732263; cv=none; d=google.com; s=arc-20160816; b=Sinn2cHkbOT3ZrP8BLnGGWi3tYgJRBTfbXAFMCe/pkS12fm2/nx+Fvy4zvhQAajTQV tbyhd5ObRT18JuLiNx6pXJjtI1btyX7zM+G7iHPNDobA3jmmOpbrDCvIrJFELFTo4OxF TCl0MlSr3lLMnnEM+Y5dg+/OSuKwUxtjdV1yCOKEDDBiEBOBrvq0AUhtQQ+glJyo0RXX MUe3uujPQku66/F1ceoBs3bDtgTHsp5yW4ye4QbHgHq8jtDv13JFpHuWQi0LM+k+5ovu pGSJSQb9KlHPze82KX+6Tf7g9U8R7FtIVtmkVuVjV4PZTNHunfDhX9wx0r02jjJVReDP vbPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:user-agent:subject:cc:to:from :references:in-reply-to:content-transfer-encoding:mime-version :message-id:dkim-signature; bh=ORiOn2ijg214/FB0BTVae4aav3Hv7+fGWBkzNRGr70c=; b=gz1bFjdj2DATaPvCdvTJurRyXa40r6rWkRHaMVsLyfAQQ3CYqnLhCPRF/AAoVj9NZf 2YONXCE+LXaF2uaP2PXLnzG3PIoAGt89eK2cuAyTbDGgt/8S2C1/ZAVzfDQr0q21AoP1 bYZuU+XV0vdoiWUFeFub0JzFysXGacsLu0KYgPCmvM9sTNRtDO2VSPyj1ZSN44DdA9Rm m70I9hYtDkaXgPvEongyfpUoMOyGPRGPXV0s1VLiIR4FTsB+C9Ev3WJheK8wZGJDsVlp jCx7athq+7ypcwnuYRulpo312GK3OM1i4o1t+L9vA2YJ/qamJhP5nBzGFBimTK5qRIlp in8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=ir3wSEP1; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ec21si3397018ejb.26.2019.10.10.11.30.39; Thu, 10 Oct 2019 11:31:03 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=ir3wSEP1; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726526AbfJJSac (ORCPT + 99 others); Thu, 10 Oct 2019 14:30:32 -0400 Received: from mail-pf1-f195.google.com ([209.85.210.195]:43480 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725901AbfJJSac (ORCPT ); Thu, 10 Oct 2019 14:30:32 -0400 Received: by mail-pf1-f195.google.com with SMTP id a2so4423203pfo.10 for ; Thu, 10 Oct 2019 11:30:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=message-id:mime-version:content-transfer-encoding:in-reply-to :references:from:to:cc:subject:user-agent:date; bh=ORiOn2ijg214/FB0BTVae4aav3Hv7+fGWBkzNRGr70c=; b=ir3wSEP1pelrXWLac9D+DzZayrfPLrb8c1CMg6RIukhApw0o7JAtf0Br+2iuN2IkwF CsKFz3HnUdx+BUYkHUzMl3CGqBSvUI4MJYF1kzTXWBdzAJQVKDb2RptEcVDIWj/FW4Wj yXmOXv23FsXmfc12xavUzSiL6WctEb9Iyo27E= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:mime-version :content-transfer-encoding:in-reply-to:references:from:to:cc:subject :user-agent:date; bh=ORiOn2ijg214/FB0BTVae4aav3Hv7+fGWBkzNRGr70c=; b=sSFyeHaW1+F3oijUsBpN+7FbTI9qq3BwIF4a1v/znsNg0bGtVF72Ki8QvqgU4PVkJR +y/H4ONJR01hzlqMSTsLDM44mxgGE/uEjXnqoScrkqAnuxaGTE309pNWlzAmiwXMMYEx Unx6HFv2KYDKi8amlRro0aFrSWyGMjTvPsSa11kNoQ2KDoJPAUI6edY2I4sdnrz+t+Ts XhQkG6FCaPuv3+xGyG/il6wCRGHBKfGhnQbR45RUMcHhRsvw9cY6T62S2Q/vsA9DCWvA tqbMAVP+ZGWuxCIxqqamEwTrQ6Z4e3f92jXApGUfM8IzubrIUlFR0m2z1BPnB9Mbwkvg RFIQ== X-Gm-Message-State: APjAAAWFCw6KAFUXybarPU3GJ7PqZwkGxyRB9h9ocLExJElgM3tr2tAK JgQKqwll1QXDEHyQuVvuEkM27g== X-Received: by 2002:a63:d452:: with SMTP id i18mr12718002pgj.76.1570732230838; Thu, 10 Oct 2019 11:30:30 -0700 (PDT) Received: from chromium.org ([2620:15c:202:1:fa53:7765:582b:82b9]) by smtp.gmail.com with ESMTPSA id j17sm6238178pfr.70.2019.10.10.11.30.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Oct 2019 11:30:30 -0700 (PDT) Message-ID: <5d9f78c6.1c69fb81.e8d13.6c8b@mx.google.com> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <1570616148-11571-1-git-send-email-Anson.Huang@nxp.com> References: <1570616148-11571-1-git-send-email-Anson.Huang@nxp.com> From: Stephen Boyd To: Anson Huang , andy.shevchenko@gmail.com, davem@davemloft.net, fugang.duan@nxp.com, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, rafael.j.wysocki@intel.com Cc: Linux-imx@nxp.com Subject: Re: [PATCH 1/2] net: fec_main: Use platform_get_irq_byname_optional() to avoid error message User-Agent: alot/0.8.1 Date: Thu, 10 Oct 2019 11:30:29 -0700 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Anson Huang (2019-10-09 03:15:47) > Failed to get irq using name is NOT fatal as driver will use index > to get irq instead, use platform_get_irq_byname_optional() instead > of platform_get_irq_byname() to avoid below error message during > probe: >=20 > [ 0.819312] fec 30be0000.ethernet: IRQ int0 not found > [ 0.824433] fec 30be0000.ethernet: IRQ int1 not found > [ 0.829539] fec 30be0000.ethernet: IRQ int2 not found >=20 > Fixes: 7723f4c5ecdb ("driver core: platform: Add an error message to plat= form_get_irq*()") > Signed-off-by: Anson Huang > --- Reviewed-by: Stephen Boyd