Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp255778ybx; Tue, 29 Oct 2019 17:58:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqxfIsJ27XCqPNZ4adbmONMjvQIQqHrfe+5v2OPlqQwHEzIlp56cx6867vMG9arTaBMcfo6H X-Received: by 2002:aa7:dd88:: with SMTP id g8mr29182273edv.247.1572397109872; Tue, 29 Oct 2019 17:58:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572397109; cv=none; d=google.com; s=arc-20160816; b=F/l7rFcKpbpn4Gr74hjQQYiycL8ne0GwlJRLSrPUMDiWO5b21kCGBK/wWJ5T3Cb5Az ofhhJt58+5icdIKAsUekk/LG7fDy4yc7Fr+XGvu3GpEzgQlVHU7Pi3VlPts6mrFNJy9J ZTM039MrHMW2er+Eo/l77FoRnUy93qHnypBv/i1TOatiNXElCHvFVm3mueFpTgxnedm9 QB5t+dzbqEjEg8R6XNzVp6nr0N6ptYQhe8NxPNDpQoQ+C+KRuHcQ+Wa2s7BbMplfgZe1 vdveHAyCO9OXjq0zgHbjxcfFR/GOFDMyIDPTeTsHsfgHdPpTp9u2xW0ytpP6qw5bclNB 2AAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=KOtmHoG8XKc3iRb02UNfdFpSdn8bT2Vyk5Rs8PDjZKM=; b=Q2blzFdEZjzhCWuXMm0rpeH6VnkleacEcBzNi/wVLVR8871cLmY7+5LYJgMhp6QnXi tAwZ84Zk7iGDILLYtVhzTu/FH9zVXfkV+RYjkNmIFpBo87vRwv9tX+u7mwndafYyqusy aie+cvw+R2qPVp6sS9AHAB4deY/s2gHGxHPK5STBPvBdQfEd9Z93fRh6uaRO5qVvfUHH NL++W77eieIw+mMeBQYZp76vNUdEMP6gMLc3A0a/XZK2sIY3eFT99Z6zc5lVZB1kWAtr zPXtxtYnx5Ktr26Mj0R4JSnskSKpIiUU4VFH1gxW3Ma/gAYG/Y6uzTDNVg+/1KCJuk8i /9VQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id mj11si234422ejb.140.2019.10.29.17.58.06; Tue, 29 Oct 2019 17:58:29 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726703AbfJ3A52 (ORCPT + 99 others); Tue, 29 Oct 2019 20:57:28 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:33842 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726187AbfJ3A51 (ORCPT ); Tue, 29 Oct 2019 20:57:27 -0400 Received: from localhost (unknown [IPv6:2601:601:9f00:1e2::d71]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 3BFC2140F6FBE; Tue, 29 Oct 2019 17:57:27 -0700 (PDT) Date: Tue, 29 Oct 2019 17:57:26 -0700 (PDT) Message-Id: <20191029.175726.406152531378673130.davem@davemloft.net> To: Anson.Huang@nxp.com Cc: fugang.duan@nxp.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Linux-imx@nxp.com Subject: Re: [PATCH RESEND 1/2] net: fec_main: Use platform_get_irq_byname_optional() to avoid error message From: David Miller In-Reply-To: <1572313999-23317-1-git-send-email-Anson.Huang@nxp.com> References: <1572313999-23317-1-git-send-email-Anson.Huang@nxp.com> X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Tue, 29 Oct 2019 17:57:27 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Anson Huang Date: Tue, 29 Oct 2019 09:53:18 +0800 > 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: > > [ 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 > > Signed-off-by: Anson Huang > Acked-by: Fugang Duan > Reviewed-by: Stephen Boyd Applied.