Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1133671pxb; Thu, 4 Mar 2021 04:19:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJw1KFb/tggaVf9tB9IpCwzgLgQA/XP+2R8gCfFeVhZn+CPx4KZn9SiY9YmHy7s2pz1p8o73 X-Received: by 2002:aa7:d656:: with SMTP id v22mr3901774edr.119.1614860361436; Thu, 04 Mar 2021 04:19:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614860361; cv=none; d=google.com; s=arc-20160816; b=vCqRqKjS+vtI9r3HyAXE25oB4Ckdla8kZB1Ii+nYWjCb1H5kJTYpdmsW1ZeZHaqiWd G+VECx8ZgqKzjn0QR5hbSiBvGcf7CCxCjSjfavXPegda6qX501nQMMxOhD5MKPtOhZa6 qVncGw9acIOUlhD+o5scYWyVv8XDDYeJqXGKT+uFXvsSZYWSIMRpfVAediXWTJFIfzJU OK3zjRDbzyXoE48JTlmuSN7ady0wV05s/P4Hs7vN23ltBVPn6Z3YYTs87eO/x17cFRa8 NmbPLVqSyr22aCRimt0LOGne2t+GMVaSibxVNGZXqZ3+e8XPr3W/iFzu0FvHXMALnA3N z3fg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=nG7Tsh8876FGktkeCjbZkLTYUiwsagooV6GeiDaxYTw=; b=wAcsYjSDyYw5dDeYq+DOlgb1aOkosJs6ngbXOUdVf6bVgFwD0JH389GM2kCFJj79Nc olFQr8KOgLXTjfva0iOKAJtA5YIhy1xdUw8PnapMs2aIFQaxdC89ZycRJsBfkvyXqsrJ Ll6ST7AyuRet2qs/KpgUzCUJSrzL7224GlnbHt9VogFFmLJ16m6JmDy/85hJrx+9VUmX U5iDy9Gioep9czQqj5l8ZtZQr5YjbCpJ3I0v1TyvNwyA3wBJXaqbLIo0iBUW65LC8kxO LFxhSLr25DipJTFSbolBrYe3Yz+mSjh1G50pui5RHo1YkkA6WMZYEux+z6r8GYrYqN31 vmAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=Rf263Jve; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id fn3si3770662ejc.182.2021.03.04.04.18.58; Thu, 04 Mar 2021 04:19:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=Rf263Jve; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1386686AbhCCSpg (ORCPT + 99 others); Wed, 3 Mar 2021 13:45:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44458 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235074AbhCCR0e (ORCPT ); Wed, 3 Mar 2021 12:26:34 -0500 Received: from mail-pf1-x42f.google.com (mail-pf1-x42f.google.com [IPv6:2607:f8b0:4864:20::42f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1B732C061760 for ; Wed, 3 Mar 2021 09:25:10 -0800 (PST) Received: by mail-pf1-x42f.google.com with SMTP id r5so16715303pfh.13 for ; Wed, 03 Mar 2021 09:25:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to; bh=nG7Tsh8876FGktkeCjbZkLTYUiwsagooV6GeiDaxYTw=; b=Rf263JvefKZwWPtePn7SJyboMMqdbvvCTnIIc79dmOauI74e5y2LbiCMFqDsof33X5 c1GISQ/tSLE9DOxVBAsNtPYcJ0H5g6pEjkFMEI7s3pca9x1ZvZ28KP3ZvfWeY3F6aHDH Pm6ksdDzfMqi4PmVcYv+OgL8C9sMT2rMEqWVk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to; bh=nG7Tsh8876FGktkeCjbZkLTYUiwsagooV6GeiDaxYTw=; b=Dp7ozgPLdCxWr2P8YvabNHrvhpd3pQGC7hJdz0LTYQ1Ey+PQyrzsMbE8LSTRIwewap SFaRRDLL2Yjag+iAWtCTzoilqqS8ktxr7eibo00uWb3NJXNPOFMSAUsmAiZ5/1rxnuSv 5iwSMhdoSxU2kJh82ElXDpfbZh7Ro66XlT6Y5NSd/H6d82GBk4mJx1nYJqdJTJVIUzHH 0lJrtKxpDenAX4XV76wQLzAD03Zq44XVP8qV4NkrS00dFkyXW8tItiYXJRHqiB6f7xQy 6AtQIEqqybqXKfcjMfBd7YBUMDyQKCAUkfq6I7okG30UqZYM6+BI411f21WgVez00LpL MDuA== X-Gm-Message-State: AOAM530RCflr1CkTSIJCbsmpzxdUlJ9eLKvbpZJUO8rhAO/MQ9uMcbie WzVhdRQj/x/hu8zQfhxik23S/EWa57GfYUjwD+fFtFJUYXIMVFhbsfv+cwxUf0XGryBntrcffG8 MQ0+47XjA7eh7HWy2TwNXZ2Jeppy8BLwdyw6WXILNqmExygMgfB98nuWpEPATjE9be6eZmpOxG2 hEz94rdQ== X-Received: by 2002:a62:6585:0:b029:1b9:d8d9:1af2 with SMTP id z127-20020a6265850000b02901b9d8d91af2mr148455pfb.17.1614792308990; Wed, 03 Mar 2021 09:25:08 -0800 (PST) Received: from [10.136.8.240] ([192.19.228.250]) by smtp.gmail.com with ESMTPSA id k9sm6781480pji.8.2021.03.03.09.25.07 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 03 Mar 2021 09:25:08 -0800 (PST) Subject: Re: [PATCH] PCI: iproc: Fix return value of iproc_msi_irq_domain_alloc() To: =?UTF-8?Q?Pali_Roh=c3=a1r?= , Marc Zyngier , Lorenzo Pieralisi , Rob Herring , Sandor Bodo-Merle , Bjorn Helgaas Cc: linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org References: <20210303142202.25780-1-pali@kernel.org> From: Ray Jui Message-ID: Date: Wed, 3 Mar 2021 09:25:06 -0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: <20210303142202.25780-1-pali@kernel.org> Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="000000000000000bb605bca5221f" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --000000000000000bb605bca5221f Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit On 3/3/2021 6:22 AM, Pali Rohár wrote: > IRQ domain alloc function should return zero on success. Non-zero value > indicates failure. > > Signed-off-by: Pali Rohár > Fixes: fc54bae28818 ("PCI: iproc: Allow allocation of multiple MSIs") > --- > drivers/pci/controller/pcie-iproc-msi.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/pci/controller/pcie-iproc-msi.c b/drivers/pci/controller/pcie-iproc-msi.c > index 908475d27e0e..eede4e8f3f75 100644 > --- a/drivers/pci/controller/pcie-iproc-msi.c > +++ b/drivers/pci/controller/pcie-iproc-msi.c > @@ -271,7 +271,7 @@ static int iproc_msi_irq_domain_alloc(struct irq_domain *domain, > NULL, NULL); > } > > - return hwirq; > + return 0; > } > > static void iproc_msi_irq_domain_free(struct irq_domain *domain, > Looks good to me. Thanks for the fix. Acked-by: Ray Jui --000000000000000bb605bca5221f Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIIQXgYJKoZIhvcNAQcCoIIQTzCCEEsCAQExDzANBglghkgBZQMEAgEFADALBgkqhkiG9w0BBwGg gg21MIIFDTCCA/WgAwIBAgIQeEqpED+lv77edQixNJMdADANBgkqhkiG9w0BAQsFADBMMSAwHgYD VQQLExdHbG9iYWxTaWduIFJvb3QgQ0EgLSBSMzETMBEGA1UEChMKR2xvYmFsU2lnbjETMBEGA1UE AxMKR2xvYmFsU2lnbjAeFw0yMDA5MTYwMDAwMDBaFw0yODA5MTYwMDAwMDBaMFsxCzAJBgNVBAYT AkJFMRkwFwYDVQQKExBHbG9iYWxTaWduIG52LXNhMTEwLwYDVQQDEyhHbG9iYWxTaWduIEdDQyBS MyBQZXJzb25hbFNpZ24gMiBDQSAyMDIwMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA vbCmXCcsbZ/a0fRIQMBxp4gJnnyeneFYpEtNydrZZ+GeKSMdHiDgXD1UnRSIudKo+moQ6YlCOu4t rVWO/EiXfYnK7zeop26ry1RpKtogB7/O115zultAz64ydQYLe+a1e/czkALg3sgTcOOcFZTXk38e aqsXsipoX1vsNurqPtnC27TWsA7pk4uKXscFjkeUE8JZu9BDKaswZygxBOPBQBwrA5+20Wxlk6k1 e6EKaaNaNZUy30q3ArEf30ZDpXyfCtiXnupjSK8WU2cK4qsEtj09JS4+mhi0CTCrCnXAzum3tgcH cHRg0prcSzzEUDQWoFxyuqwiwhHu3sPQNmFOMwIDAQABo4IB2jCCAdYwDgYDVR0PAQH/BAQDAgGG MGAGA1UdJQRZMFcGCCsGAQUFBwMCBggrBgEFBQcDBAYKKwYBBAGCNxQCAgYKKwYBBAGCNwoDBA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