[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <165961956239.15455.13873160402185072060.tip-bot2@tip-bot2>
Date: Thu, 04 Aug 2022 13:26:02 -0000
From: "irqchip-bot for Huacai Chen" <tip-bot2@...utronix.de>
To: linux-kernel@...r.kernel.org
Cc: kernel test robot <lkp@...el.com>,
Huacai Chen <chenhuacai@...ngson.cn>,
Marc Zyngier <maz@...nel.org>, tglx@...utronix.de
Subject: [irqchip: irq/irqchip-fixes] irqchip/loongson-eiointc: Fix a build warning
The following commit has been merged into the irq/irqchip-fixes branch of irqchip:
Commit-ID: 54cfa910b443b3d90b3e00bd96cdf563a285390b
Gitweb: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms/54cfa910b443b3d90b3e00bd96cdf563a285390b
Author: Huacai Chen <chenhuacai@...ngson.cn>
AuthorDate: Thu, 04 Aug 2022 10:54:57 +08:00
Committer: Marc Zyngier <maz@...nel.org>
CommitterDate: Thu, 04 Aug 2022 10:04:57 +01:00
irqchip/loongson-eiointc: Fix a build warning
Make acpi_get_vec_parent() be a static function, to avoid:
drivers/irqchip/irq-loongson-eiointc.c:289:20: warning: no previous prototype for 'acpi_get_vec_parent'
Reported-by: kernel test robot <lkp@...el.com>
Signed-off-by: Huacai Chen <chenhuacai@...ngson.cn>
Signed-off-by: Marc Zyngier <maz@...nel.org>
Link: https://lore.kernel.org/r/20220804025457.213979-1-chenhuacai@loongson.cn
---
drivers/irqchip/irq-loongson-eiointc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/irqchip/irq-loongson-eiointc.c b/drivers/irqchip/irq-loongson-eiointc.c
index 3174678..bffb7b3 100644
--- a/drivers/irqchip/irq-loongson-eiointc.c
+++ b/drivers/irqchip/irq-loongson-eiointc.c
@@ -290,7 +290,7 @@ static void acpi_set_vec_parent(int node, struct irq_domain *parent, struct acpi
}
}
-struct irq_domain *acpi_get_vec_parent(int node, struct acpi_vector_group *vec_group)
+static struct irq_domain *acpi_get_vec_parent(int node, struct acpi_vector_group *vec_group)
{
int i;
Powered by blists - more mailing lists