Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp257677ybx; Tue, 29 Oct 2019 18:00:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqx+ivcmVgP9sKQBJZcJH6wjjjoFjYnjkm/UrryxewhSUf59m9qdAGbp+9F59NPqt5Z5VAxF X-Received: by 2002:a17:906:1542:: with SMTP id c2mr6249978ejd.80.1572397241663; Tue, 29 Oct 2019 18:00:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572397241; cv=none; d=google.com; s=arc-20160816; b=JtR5/+4f66ZwtnxoGaIvB3sonsa1IkxGqodTRJDgw/fb4+nnSa/mispDQIerk5l5FG L45pFkGVLwKugkWS27BgCAoKbB8uZUZQyC+f0nQSzm/f+7Q+6CyUdRB6ZcUYG2s9qPe+ zMI1jqQPa9eQt6fXWHgpkEahtrUQ9RQMxlvqxO2KClN7Y8LVxcl2Ux8lo5R4g5iptnet KjmzWMU+iP9RY/bpmqzYGVGCV9SvwsahCVnStdE9iLVDra6pE165vUHz8IhmXImqFM0V KjgT8cEYLyu6y4FGJy5avy492CM51F7xyJDpTofPOpV7Jv/ioSvG8ScmR1N7Rx8qvyG6 aw4A== 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=ICHQBsEw1ONZak2s/F3Zi5FvlpP8bBV40+Qc5dyPw7E=; b=AFOeap8sAD47S+ZRK73SsCbo2FoyrQ9umCzgxl/ACX8azf4qFBEWLCnMeY6X1bO9kG +FK8f2JargAOG2stCIe7F4Kd4QEef/oMKjLqh46I5TAo4tR2RaylUKM/+6R0p3waNWEt Pkr0jGRXSWV6FIRK+oI82jMK6e0MohIA97ICRhpI/J0fjWmTtRg/Cr3CjzppyqwZImng hXl+W6i5r3CkwVL2I8/L6Q6V4D8lJEutaIwDky4tof9xXdZdG2A7daXwmTcN4XAEqIke ws+NLD00Zrd82czZOtY2ZL14Z5HqfKrWDqYzOzpqiLUUxstbx6nUj1pvM25FinaRK/yV DpQg== 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 z12si204774ejb.315.2019.10.29.18.00.17; Tue, 29 Oct 2019 18:00:41 -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 S1726855AbfJ3A5f (ORCPT + 99 others); Tue, 29 Oct 2019 20:57:35 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:33848 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726084AbfJ3A5f (ORCPT ); Tue, 29 Oct 2019 20:57:35 -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 9E004140F6FBE; Tue, 29 Oct 2019 17:57:34 -0700 (PDT) Date: Tue, 29 Oct 2019 17:57:34 -0700 (PDT) Message-Id: <20191029.175734.1356331205705402957.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 2/2] net: fec_ptp: Use platform_get_irq_xxx_optional() to avoid error message From: David Miller In-Reply-To: <1572313999-23317-2-git-send-email-Anson.Huang@nxp.com> References: <1572313999-23317-1-git-send-email-Anson.Huang@nxp.com> <1572313999-23317-2-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:34 -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:19 +0800 > Use platform_get_irq_byname_optional() and platform_get_irq_optional() > instead of platform_get_irq_byname() and platform_get_irq() for optional > IRQs to avoid below error message during probe: > > [ 0.795803] fec 30be0000.ethernet: IRQ pps not found > [ 0.800787] fec 30be0000.ethernet: IRQ index 3 not found > > Signed-off-by: Anson Huang > Acked-by: Fugang Duan > Reviewed-by: Stephen Boyd Applied.