From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lorenzo Pieralisi Subject: [RFC PATCH v2 02/15] drivers: irqchip: its: fix its_acpi_probe() prototype Date: Tue, 7 Jun 2016 14:30:57 +0100 Message-ID: <1465306270-27076-3-git-send-email-lorenzo.pieralisi@arm.com> References: <1465306270-27076-1-git-send-email-lorenzo.pieralisi@arm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1465306270-27076-1-git-send-email-lorenzo.pieralisi-5wv7dgnIgG8@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Cc: "Rafael J. Wysocki" , Marc Zyngier , Tomasz Nowicki , Will Deacon , linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-pci-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Sinan Kaya , linux-acpi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Hanjun Guo , Jon Masters , linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org List-Id: linux-acpi@vger.kernel.org The empty stub for its_acpi_probe() on !CONFIG_ACPI systems has a wrong prototype, which causes compilation errors: drivers/irqchip/irq-gic-v3-its.c: In function 'its_init': drivers/irqchip/irq-gic-v3-its.c:1762:3: error: too few arguments to function 'its_acpi_probe' its_acpi_probe(); ^ drivers/irqchip/irq-gic-v3-its.c:1749:27: note: declared here static inline void __init its_acpi_probe(struct irq_domain *parent_domain) { } This patch fixes the prototype and the corresponding compilation errors. Signed-off-by: Lorenzo Pieralisi Cc: Tomasz Nowicki --- drivers/irqchip/irq-gic-v3-its.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/irqchip/irq-gic-v3-its.c b/drivers/irqchip/irq-gic-v3-its.c index c8f36a5..1846800 100644 --- a/drivers/irqchip/irq-gic-v3-its.c +++ b/drivers/irqchip/irq-gic-v3-its.c @@ -1700,7 +1700,7 @@ void __init its_acpi_probe(void) pr_info("No valid GIC ITS entries exist\n"); } #else -static inline void __init its_acpi_probe(struct irq_domain *parent_domain) { } +static inline void __init its_acpi_probe(void) { } #endif int __init its_init(struct fwnode_handle *handle, struct rdists *rdists, -- 2.6.4 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932852AbcFGNbF (ORCPT ); Tue, 7 Jun 2016 09:31:05 -0400 Received: from foss.arm.com ([217.140.101.70]:44404 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932821AbcFGNbA (ORCPT ); Tue, 7 Jun 2016 09:31:00 -0400 From: Lorenzo Pieralisi To: iommu@lists.linux-foundation.org Cc: Lorenzo Pieralisi , Tomasz Nowicki , Will Deacon , Marc Zyngier , Robin Murphy , Joerg Roedel , "Rafael J. Wysocki" , Hanjun Guo , Jon Masters , Sinan Kaya , linux-acpi@vger.kernel.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [RFC PATCH v2 02/15] drivers: irqchip: its: fix its_acpi_probe() prototype Date: Tue, 7 Jun 2016 14:30:57 +0100 Message-Id: <1465306270-27076-3-git-send-email-lorenzo.pieralisi@arm.com> X-Mailer: git-send-email 2.6.4 In-Reply-To: <1465306270-27076-1-git-send-email-lorenzo.pieralisi@arm.com> References: <1465306270-27076-1-git-send-email-lorenzo.pieralisi@arm.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The empty stub for its_acpi_probe() on !CONFIG_ACPI systems has a wrong prototype, which causes compilation errors: drivers/irqchip/irq-gic-v3-its.c: In function 'its_init': drivers/irqchip/irq-gic-v3-its.c:1762:3: error: too few arguments to function 'its_acpi_probe' its_acpi_probe(); ^ drivers/irqchip/irq-gic-v3-its.c:1749:27: note: declared here static inline void __init its_acpi_probe(struct irq_domain *parent_domain) { } This patch fixes the prototype and the corresponding compilation errors. Signed-off-by: Lorenzo Pieralisi Cc: Tomasz Nowicki --- drivers/irqchip/irq-gic-v3-its.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/irqchip/irq-gic-v3-its.c b/drivers/irqchip/irq-gic-v3-its.c index c8f36a5..1846800 100644 --- a/drivers/irqchip/irq-gic-v3-its.c +++ b/drivers/irqchip/irq-gic-v3-its.c @@ -1700,7 +1700,7 @@ void __init its_acpi_probe(void) pr_info("No valid GIC ITS entries exist\n"); } #else -static inline void __init its_acpi_probe(struct irq_domain *parent_domain) { } +static inline void __init its_acpi_probe(void) { } #endif int __init its_init(struct fwnode_handle *handle, struct rdists *rdists, -- 2.6.4 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Return-Path: From: Lorenzo Pieralisi To: iommu@lists.linux-foundation.org Subject: [RFC PATCH v2 02/15] drivers: irqchip: its: fix its_acpi_probe() prototype Date: Tue, 7 Jun 2016 14:30:57 +0100 Message-Id: <1465306270-27076-3-git-send-email-lorenzo.pieralisi@arm.com> In-Reply-To: <1465306270-27076-1-git-send-email-lorenzo.pieralisi@arm.com> References: <1465306270-27076-1-git-send-email-lorenzo.pieralisi@arm.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Rafael J. Wysocki" , Lorenzo Pieralisi , Marc Zyngier , Tomasz Nowicki , Joerg Roedel , Will Deacon , linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, Sinan Kaya , linux-acpi@vger.kernel.org, Hanjun Guo , Jon Masters , Robin Murphy , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+bjorn=helgaas.com@lists.infradead.org List-ID: The empty stub for its_acpi_probe() on !CONFIG_ACPI systems has a wrong prototype, which causes compilation errors: drivers/irqchip/irq-gic-v3-its.c: In function 'its_init': drivers/irqchip/irq-gic-v3-its.c:1762:3: error: too few arguments to function 'its_acpi_probe' its_acpi_probe(); ^ drivers/irqchip/irq-gic-v3-its.c:1749:27: note: declared here static inline void __init its_acpi_probe(struct irq_domain *parent_domain) { } This patch fixes the prototype and the corresponding compilation errors. Signed-off-by: Lorenzo Pieralisi Cc: Tomasz Nowicki --- drivers/irqchip/irq-gic-v3-its.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/irqchip/irq-gic-v3-its.c b/drivers/irqchip/irq-gic-v3-its.c index c8f36a5..1846800 100644 --- a/drivers/irqchip/irq-gic-v3-its.c +++ b/drivers/irqchip/irq-gic-v3-its.c @@ -1700,7 +1700,7 @@ void __init its_acpi_probe(void) pr_info("No valid GIC ITS entries exist\n"); } #else -static inline void __init its_acpi_probe(struct irq_domain *parent_domain) { } +static inline void __init its_acpi_probe(void) { } #endif int __init its_init(struct fwnode_handle *handle, struct rdists *rdists, -- 2.6.4 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel From mboxrd@z Thu Jan 1 00:00:00 1970 From: lorenzo.pieralisi@arm.com (Lorenzo Pieralisi) Date: Tue, 7 Jun 2016 14:30:57 +0100 Subject: [RFC PATCH v2 02/15] drivers: irqchip: its: fix its_acpi_probe() prototype In-Reply-To: <1465306270-27076-1-git-send-email-lorenzo.pieralisi@arm.com> References: <1465306270-27076-1-git-send-email-lorenzo.pieralisi@arm.com> Message-ID: <1465306270-27076-3-git-send-email-lorenzo.pieralisi@arm.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org The empty stub for its_acpi_probe() on !CONFIG_ACPI systems has a wrong prototype, which causes compilation errors: drivers/irqchip/irq-gic-v3-its.c: In function 'its_init': drivers/irqchip/irq-gic-v3-its.c:1762:3: error: too few arguments to function 'its_acpi_probe' its_acpi_probe(); ^ drivers/irqchip/irq-gic-v3-its.c:1749:27: note: declared here static inline void __init its_acpi_probe(struct irq_domain *parent_domain) { } This patch fixes the prototype and the corresponding compilation errors. Signed-off-by: Lorenzo Pieralisi Cc: Tomasz Nowicki --- drivers/irqchip/irq-gic-v3-its.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/irqchip/irq-gic-v3-its.c b/drivers/irqchip/irq-gic-v3-its.c index c8f36a5..1846800 100644 --- a/drivers/irqchip/irq-gic-v3-its.c +++ b/drivers/irqchip/irq-gic-v3-its.c @@ -1700,7 +1700,7 @@ void __init its_acpi_probe(void) pr_info("No valid GIC ITS entries exist\n"); } #else -static inline void __init its_acpi_probe(struct irq_domain *parent_domain) { } +static inline void __init its_acpi_probe(void) { } #endif int __init its_init(struct fwnode_handle *handle, struct rdists *rdists, -- 2.6.4