Message ID | 20231025202344.581132-13-sunilvl@ventanamicro.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D9739C07545 for <linux-arm-kernel@archiver.kernel.org>; Wed, 25 Oct 2023 20:26:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=h61ae1mTKcKNQZufXwk6SMVyzDOWzhy77spbCV9Zg44=; b=rzok+qpW5QSxn/ 5UJ19Q9ITQuSw75amiF/q1TeOFl59T3ezHVsc6N4Qbg3tsqWbfSmw4BrOLiKMETIRadTSm4t66ZE9 KYWFHGhOTIr3Z6TEFpSsBmgTvmQdWuyEJ3OZTHGN44WyIPyYDhJvupvm1IW1lsNHJkQgF3Jfda4Rp nNC1SGvFOslZOr7ttSt/Tki94/I1gOY0NL68pybQ29DYxGvQ05PCfD/fsVG4R7EUmRIGEjrxtR7Qk z7fTx6u8fcIu/O+mAnRu4toPYENN8jQ5M9S4M57Nd8kxDCYgPjG0K/PHWNkQ5JpFc1/KKRrbTLqLz /lRgeLlegBMbV35GVOrA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qvkRw-00D3hJ-2d; Wed, 25 Oct 2023 20:25:56 +0000 Received: from mail-pf1-x436.google.com ([2607:f8b0:4864:20::436]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qvkRL-00D3A9-2H for linux-arm-kernel@lists.infradead.org; Wed, 25 Oct 2023 20:25:20 +0000 Received: by mail-pf1-x436.google.com with SMTP id d2e1a72fcca58-6be1bc5aa1cso132594b3a.3 for <linux-arm-kernel@lists.infradead.org>; Wed, 25 Oct 2023 13:25:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1698265519; x=1698870319; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=5kojFGf2ZSJMlibBdobzZmgsjyx4Ywkx3WkwDcrmlX4=; b=FM3RqCXHRS8e9rSjOEGPALVD3fXW+jeBCm+22uOx3zjwjgtLHLb5WIniIra844tqPO Au97AuOX1v9c9zEK8ZUOVzmLv8LNreALvSLw3IKmonqOCpvY9IJYzgAkBAy2KHTD/YGa LIxsRP2VQdYRpInAuz9DsT7myVsVjrlLgj4EDQwFqhY6OuUPb1BGn+2c+UowVhE1iFnE pK5jmkkMvFZgA+X7WVG7OYLyF60oZb1BrPKXB2EvzHW8Ji7isv+qqm0CNLelt5HmZO+f ieWCiAIv0Rh3VsYPI2pCN624r6qTMhs443PPPGv+2bntXIn/gxsLrGSHfmnEkuWcbjLe FJ2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698265519; x=1698870319; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=5kojFGf2ZSJMlibBdobzZmgsjyx4Ywkx3WkwDcrmlX4=; b=YJH3Pty3pxDpffnOdh+osJDPR8cwYJR3rFGDTGbn2nx8CuMMU2P8IVEqU7eHsxA+Uz aUXF13IbqLGZj2duMD1hrIWSnfps0QEplGsWx+2Oo54Du5MfEx/oqpAH3o5Q9ua+ffvs Q1oviE5iPg0OfT1Flp0UPd6alNAqHZYdrq1ISpPspM2+MLth9xs4yPi895QgpeAlgkTB hwWg+ugQB4XR7ChY84lJosUjBqdzxFmNnwBnvbL/LHGazMsFZUueIhsea1DB2vncbPlw yjgdxftX8/6j23EgUpwVK/6woDU1gYXzH+0ZkbXHVI1VhdJ5QrV3AbwbyWvAPYzlWSV6 /3lw== X-Gm-Message-State: AOJu0YyAF4fXcMuLoxwm/LKBMRVEBfp25W7pHme2qg4y8dAL6A1XGARY Kk1/19+eoZ9SKf+lBJo0cXuV8OPQshVmm8OPek/sPw== X-Google-Smtp-Source: AGHT+IEA5VCpygjnJt29h1aUuFMuVqz64Qf8m3MJ6i95Ryf0OFy3qLoON8TOXsusky9X3JJetvXkcA== X-Received: by 2002:aa7:888b:0:b0:6bd:9281:9446 with SMTP id z11-20020aa7888b000000b006bd92819446mr19186279pfe.10.1698265518840; Wed, 25 Oct 2023 13:25:18 -0700 (PDT) Received: from sunil-pc.Dlink ([106.51.188.78]) by smtp.gmail.com with ESMTPSA id y3-20020aa79423000000b006b84ed9371esm10079590pfo.177.2023.10.25.13.25.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Oct 2023 13:25:18 -0700 (PDT) From: Sunil V L <sunilvl@ventanamicro.com> To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, linux-acpi@vger.kernel.org, linux-pci@vger.kernel.org, linux-serial@vger.kernel.org Cc: Catalin Marinas <catalin.marinas@arm.com>, Will Deacon <will@kernel.org>, Paul Walmsley <paul.walmsley@sifive.com>, Palmer Dabbelt <palmer@dabbelt.com>, Albert Ou <aou@eecs.berkeley.edu>, "Rafael J . Wysocki" <rafael@kernel.org>, Len Brown <lenb@kernel.org>, Bjorn Helgaas <bhelgaas@google.com>, Anup Patel <anup@brainfault.org>, Thomas Gleixner <tglx@linutronix.de>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Jiri Slaby <jirislaby@kernel.org>, Conor Dooley <conor.dooley@microchip.com>, Andrew Jones <ajones@ventanamicro.com>, Atish Kumar Patra <atishp@rivosinc.com>, Haibo Xu <haibo1.xu@intel.com>, Sunil V L <sunilvl@ventanamicro.com> Subject: [RFC PATCH v2 12/21] PCI: pci-acpi.c: Return correct value from pcibios_alloc_irq() Date: Thu, 26 Oct 2023 01:53:35 +0530 Message-Id: <20231025202344.581132-13-sunilvl@ventanamicro.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231025202344.581132-1-sunilvl@ventanamicro.com> References: <20231025202344.581132-1-sunilvl@ventanamicro.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231025_132519_740972_9FA43FD4 X-CRM114-Status: GOOD ( 12.08 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
RISC-V: ACPI: Add external interrupt controller support
|
expand
|
diff --git a/drivers/pci/pci-acpi.c b/drivers/pci/pci-acpi.c index c8c3369fd69f..80dc0b290544 100644 --- a/drivers/pci/pci-acpi.c +++ b/drivers/pci/pci-acpi.c @@ -1528,7 +1528,7 @@ arch_initcall(acpi_pci_init); int pcibios_alloc_irq(struct pci_dev *dev) { if (!acpi_disabled) - acpi_pci_irq_enable(dev); + return acpi_pci_irq_enable(dev); return 0; }
Return the correct value from pcibios_alloc_irq(). Signed-off-by: Sunil V L <sunilvl@ventanamicro.com> --- drivers/pci/pci-acpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)