projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d26dd41
)
irqchip/bcm2836: Fix missing __init annotation
author
Marc Zyngier
<maz@kernel.org>
Sun, 25 Oct 2020 11:10:29 +0000
(11:10 +0000)
committer
Marc Zyngier
<maz@kernel.org>
Sun, 25 Oct 2020 11:10:29 +0000
(11:10 +0000)
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
patch
|
blob
|
history
diff --git
a/drivers/irqchip/irq-bcm2836.c
b/drivers/irqchip/irq-bcm2836.c
index
97838eb
..
cbc7c74
100644
(file)
--- 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,