Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp126243imu; Thu, 3 Jan 2019 15:35:36 -0800 (PST) X-Google-Smtp-Source: AFSGD/V+0i+Ib/ZL1Mwz4+QFSBMmcILc9Qpj2Sq3sXId1RDhC/Tt4ypDk6LwANML3f0ZpP9RfaG2 X-Received: by 2002:a62:7504:: with SMTP id q4mr49259760pfc.180.1546558536564; Thu, 03 Jan 2019 15:35:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546558536; cv=none; d=google.com; s=arc-20160816; b=OjFktNEWNyIAqqL4ViFN9jnHaTzJOFbuN1sKwR+/O1kuDQRa31kjAdmr/1SvUypBvp 4Uzbfpnz2YJyg1qhUFOEs2euam8KpSR+cGmClgc5lK7KTE7qcHdO6kc/fIQqoAGWV/eR 5VyvbV/DdE9Prq5PUhIVrJNCfgYtEvu472SP5Xo9jcDeUJtT/3YTZ00KP/57gquGDs0Y Fw6Pc3gNgt6GxRGS7bjjCK6i5aMSsQyVAEZwGrwdRAysakPCpAiQHTdKb2jZbXlMG0gy 45sPL7zsNQtDKmXX4Kp5JAWxjQ/+yVhrRjpCeCbY6ETYAA0pH3k3cftbMOV+VDzddCed kS1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:message-id:references:user-agent :from:in-reply-to:to:cc:subject:content-transfer-encoding :mime-version:dkim-signature; bh=/3f/8UT7w199nKPlhdUgU5QbN336qKDqa4dp0VAFn3o=; b=Btg0NJunZrogJMXpp2tgUuCd8TAltMgW17tq78c+XjUqZOaIoaTVx7D+xJh66LYx0B yeWiQocGtF2ijt2exBZnaASUyunV/KI10Jyvsas8WK27rbZjtVo//s5+YD6f7Pqyik4h ZtlEs7WI+M43Kna7mI5CXZuTWpg7SFvXj3D/T6DaDBXJyx86LLrKFor0hgNHHfpP+Kzh SDXF8WnTp6CZfC4dwYw5SK6zFbgxuh0iOQHdcivXcO5TagVQkMsIDFwD0B77G1HvR8n5 wlixrOtnT5t6ifofEFuVTZmoCAZV/26wTtd0F4KSezxIe9NthzE0MIw+uWcM0r4KOBQL tcpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=OJ5GPDpw; 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 k12si51900120pgg.382.2019.01.03.15.35.21; Thu, 03 Jan 2019 15:35:36 -0800 (PST) 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=OJ5GPDpw; 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 S1730699AbfACRZW (ORCPT + 99 others); Thu, 3 Jan 2019 12:25:22 -0500 Received: from mail-pg1-f194.google.com ([209.85.215.194]:39165 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727034AbfACRZW (ORCPT ); Thu, 3 Jan 2019 12:25:22 -0500 Received: by mail-pg1-f194.google.com with SMTP id w6so16269456pgl.6 for ; Thu, 03 Jan 2019 09:25:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:content-transfer-encoding:subject:cc:to:in-reply-to :from:user-agent:references:message-id:date; bh=/3f/8UT7w199nKPlhdUgU5QbN336qKDqa4dp0VAFn3o=; b=OJ5GPDpwIT5BUlrsmJcISqgZwLCriISgVDu9pY/mzNmYddwyBAZ87M7N/YfZV3IDKk 4me6+5u77HMyi9RneH3J8W1HfTfx7hvGlyyeMp2gTP42ixyJtiAHhNeJqyqU+Qh/Mas8 RuTe5IEVEkutHgWJKU1aqYYS1M/glQzmF1A7U= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:content-transfer-encoding:subject :cc:to:in-reply-to:from:user-agent:references:message-id:date; bh=/3f/8UT7w199nKPlhdUgU5QbN336qKDqa4dp0VAFn3o=; b=GsXPb+6dVh1Uc9+Xn799TYly3OdkUGmYFWAZAcNxuGJTEUKDOwOrbcHxb0IHqtkHVW 0wrCc9qBUxwByJdsBsUJZxGo04uhJwLvfblHpyTwk8ohZWAPGBBpjaC9rvq79lQ1KXqj 3X9kEheQrHCv3ycPuruhu0NJF/XQEf9cX/D16c2fh8z96ZvqS09Uzx2k37Whdf4VuyxT kTcQBWL/LeMhkutsL1OwJ5F94490ljbyrCJIUiHHBdURcVnAJRtTq8uPfeZk4lMGXbFK 99xFgoUHvJJh8Ug6PBYZ8JwQ7Q3ywP6a4pd3/JMnIKvVxANaFa0pfrF48+GBqojdR6V6 PdrQ== X-Gm-Message-State: AA+aEWbhapexcKAHKztsN7xg6Ofz16WfJcmej9KADkyaqKoEppuRUNEG Lt5mu1NFeV2nnisUsaa0J+JXKg== X-Received: by 2002:a62:16d6:: with SMTP id 205mr48856414pfw.256.1546536321419; Thu, 03 Jan 2019 09:25:21 -0800 (PST) Received: from localhost ([2620:15c:202:1:fa53:7765:582b:82b9]) by smtp.gmail.com with ESMTPSA id 78sm104626790pft.184.2019.01.03.09.25.20 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 03 Jan 2019 09:25:20 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: Re: [PATCH v3] driver core: platform: Add an error message to platform_get_irq*() Cc: "Rafael J. Wysocki" , Rob Herring , Andrzej Hajda , Andy Shevchenko , Bartlomiej Zolnierkiewicz , Mark Brown , Greg Kroah-Hartman , javierm@redhat.com, Linux ARM , Linux Kernel Mailing List , Russell King - ARM Linux , Marek Szyprowski To: "Rafael J. Wysocki" In-Reply-To: From: Stephen Boyd User-Agent: alot/0.8 References: <20190102185106.56913-1-swboyd@chromium.org> <154653191998.15366.14229484132412159772@swboyd.mtv.corp.google.com> Message-ID: <154653631992.15366.980047163353936345@swboyd.mtv.corp.google.com> Date: Thu, 03 Jan 2019 09:25:19 -0800 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Rafael J. Wysocki (2019-01-03 09:22:56) > On Thu, Jan 3, 2019 at 5:12 PM Stephen Boyd wrote: > > > > I don't see much benefit to seeing -ENXIO or -EINVAL printed here, so I > > left out the error code. >=20 > OK, so the value of the message is to tell the user that some driver > asked for an invalid IRQ, right? Yes.