lkml.org 
[lkml]   [2020]   [Nov]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[tip: irq/urgent] irqchip/bcm2836: Fix missing __init annotation
The following commit has been merged into the irq/urgent branch of tip:

Commit-ID: 57733e009f0c7e0526e10a18be12f56996c5460e
Gitweb: https://git.kernel.org/tip/57733e009f0c7e0526e10a18be12f56996c5460e
Author: Marc Zyngier <maz@kernel.org>
AuthorDate: Sun, 25 Oct 2020 11:10:29
Committer: Marc Zyngier <maz@kernel.org>
CommitterDate: Sun, 25 Oct 2020 11:10:29

irqchip/bcm2836: Fix missing __init annotation

bcm2836_arm_irqchip_smp_init() calls set_smp_ipi_range(), which has
an __init annotation. Make sure the caller has the same annotation.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
---
drivers/irqchip/irq-bcm2836.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/irqchip/irq-bcm2836.c b/drivers/irqchip/irq-bcm2836.c
index 97838eb..cbc7c74 100644
--- a/drivers/irqchip/irq-bcm2836.c
+++ b/drivers/irqchip/irq-bcm2836.c
@@ -244,7 +244,7 @@ static int bcm2836_cpu_dying(unsigned int cpu)

#define BITS_PER_MBOX 32

-static void bcm2836_arm_irqchip_smp_init(void)
+static void __init bcm2836_arm_irqchip_smp_init(void)
{
struct irq_fwspec ipi_fwspec = {
.fwnode = intc.domain->fwnode,
\
 
 \ /
  Last update: 2020-11-01 18:01    [W:0.179 / U:0.584 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site