Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp2719385ybp; Thu, 10 Oct 2019 11:31:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqxKtAnGFgZWFfL7zYHRf/D+a48/9wHP8B4BpaCty2XybUIG74SR5STlvQQxQfUD/8e0tv7X X-Received: by 2002:a05:6402:51a:: with SMTP id m26mr9533494edv.298.1570732303963; Thu, 10 Oct 2019 11:31:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570732303; cv=none; d=google.com; s=arc-20160816; b=EBYKL3Wc0I6PcjcDPAVGtWYCvLg8Hp24RBTEChKYLdhhHq+k0K8ObCSyQXJXoyqiUf fKwRXIRIm92VtXNf1wwm8x4Q9CdW4T7T9XRZyBIpibTR6uc9EyvDelOsyDM6J0Bim0dC 7BR0ViQnU+B57JC/83BeMP22fLM0hlY1Lk0Jk/tS/wgvhJw7f3e2GJXvt09mcUTt8+hM B8TvnUQ+mPyDzi81Ds8myirD2EpCxLYpra0oE1SobScJcD+ypS2kWbQ79hOn0wTaGh0a QklisaukWFWoQuUKde6b7HCdv9Ss7vVFVEJ4HVJPtzValRkVAl+ZzcNf5LjxwESqfrCR 5DGA== 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=ps6OX7J+R0v4L7fcM1T7Wzw2f1GKAPmugB6t5dSsqkM=; b=mysgrB2CVw0GlsZP/iKTkw7avPIrBFdcwupfjGr96w8v8jd7c79ggoDf3UsyYNUcV1 BJJLMJVikdlpqGJ1VaX/uUJy7X3vm+qtcO3DvtCDNiurH/Sl5sjkdUDZv4s/PaKQ7Es1 Yi6FVWBmMC3kzCzewafjc8EdNrK7aHcjcyjdhFhTh7+Ho2b9Wg/9MhoNh3jOyyFi+02x 5DagJRFkSQijZjQay2Fq3Xj2+bP/EQmhykdFhYT1Biz2I88epKNCZicOzUd3JdO5B693 7GQbnZGB1PuIVxFE0xP+qlK7BTFnfyPY9QhWkYDoTcfFZhy3jptdILTDFice4v8KOTy2 Z8Jw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=HIIqMfHz; 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 t18si3275418eju.329.2019.10.10.11.31.20; Thu, 10 Oct 2019 11:31:43 -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=HIIqMfHz; 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 S1726720AbfJJSah (ORCPT + 99 others); Thu, 10 Oct 2019 14:30:37 -0400 Received: from mail-pl1-f193.google.com ([209.85.214.193]:43401 "EHLO mail-pl1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726666AbfJJSah (ORCPT ); Thu, 10 Oct 2019 14:30:37 -0400 Received: by mail-pl1-f193.google.com with SMTP id f21so3187582plj.10 for ; Thu, 10 Oct 2019 11:30:36 -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=ps6OX7J+R0v4L7fcM1T7Wzw2f1GKAPmugB6t5dSsqkM=; b=HIIqMfHz6wO62lQ+X8N+ZRYKyDUSgJCarKOH+liGUr7ncdhzM9FwnaXuDMaBl7aqR6 dtDh7KfWgZSmZHnmQeGwqXoLPwaImuIMgnwhUM2wIBy+Na6mPxc1K2N0m2IBpGm/FURD N9kx658NZs15O837L45HTjijnDLKLkfgFFwE8= 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=ps6OX7J+R0v4L7fcM1T7Wzw2f1GKAPmugB6t5dSsqkM=; b=N9S2v0vr8RaNgRF5WcVy/0iCFBwgblKqARJnd/zaAA7NpMMgkKQSQaBRRjYB3HfUS0 Eksae9XQL7BXkDNa0ZYNqL2xfJhHs4Zkzzl9x1R8mP/oTTkEopCKo4y4vgkdEJlMCBop vJFRCWoOtm5ak5P4ueQTBEg18XSahJzrY6tkOoWJ4e57rZbhcPbCgzoqYmL9x59YHmdW 50CB/DhKmJNiie6bj5jhmqvTn235VvC/bLQkRdUL6WbTScPmp3LU2IRTxXHm/p1zbroE oQSdPWrQl7wVSV+v6rmar+Eq0vZW1B8BGO01tGKgDa26cQwgPmudTIIfFmUCOhyUZYga DZzg== X-Gm-Message-State: APjAAAUdGTOeeOcygxQ3//TCw5yS1d/wCcs5thiqtlMm3LTWrtAahfLF eLseKKElXBwCcBlGbpDjkZjfgQ== X-Received: by 2002:a17:902:bd08:: with SMTP id p8mr10948195pls.248.1570732236345; Thu, 10 Oct 2019 11:30:36 -0700 (PDT) Received: from chromium.org ([2620:15c:202:1:fa53:7765:582b:82b9]) by smtp.gmail.com with ESMTPSA id u4sm6601820pfu.177.2019.10.10.11.30.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Oct 2019 11:30:35 -0700 (PDT) Message-ID: <5d9f78cb.1c69fb81.65dfb.6f7f@mx.google.com> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <1570616148-11571-2-git-send-email-Anson.Huang@nxp.com> References: <1570616148-11571-1-git-send-email-Anson.Huang@nxp.com> <1570616148-11571-2-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 2/2] net: fec_ptp: Use platform_get_irq_xxx_optional() to avoid error message User-Agent: alot/0.8.1 Date: Thu, 10 Oct 2019 11:30:34 -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:48) > 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: >=20 > [ 0.795803] fec 30be0000.ethernet: IRQ pps not found > [ 0.800787] fec 30be0000.ethernet: IRQ index 3 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