Skip to contentSkip to conversation

irqchip/bcm2836: make bcm2836_smp_boot_secondary static

PATCH New Ben Dooks 2 participants 5 messages Jun 8, 2016 – Jun 16, 2016

Subsystems (3)
lore
Share & tools
lore

Ben Dooks

author
#0 lore raw

PATCH 1/1 irqchip/bcm2836: make bcm2836_smp_boot_secondary static

The bcm2836_smp_boot_secondary() is not declared or used elsewhere so make it static to fix the following warning:

drivers/irqchip/irq-bcm2836.c:227:12: warning: symbol 'bcm2836_smp_boot_secondary' was not declared. Should it be static?

---
Cc: Thomas Gleixner <[email protected]>
Cc: Jason Cooper <[email protected]>
Cc: Marc Zyngier <[email protected]>
Cc: linux-arm-kernel at lists.infradead.org

---
 drivers/irqchip/irq-bcm2836.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/irqchip/irq-bcm2836.c +2 -2
index 72ff1d5..6c72e60 100644
@@ -224,8 +224,8 @@ static struct notifier_block bcm2836_arm_irqchip_cpu_notifier = {
 };
 
 #ifdef CONFIG_ARM
-int __init bcm2836_smp_boot_secondary(unsigned int cpu,
-				      struct task_struct *idle)
+static int __init bcm2836_smp_boot_secondary(unsigned int cpu,
+					     struct task_struct *idle)
 {
 	unsigned long secondary_startup_phys =
 		(unsigned long)virt_to_phys((void *)secondary_startup);
Signature · 1 line
2.8.1
#1 lore raw

PATCH 1/1 irqchip/bcm2836: make bcm2836_smp_boot_secondary static

Hey Ben,

Quoted 6 lines · Ben Dooks

The bcm2836_smp_boot_secondary() is not declared or used elsewhere so make it static to fix the following warning:

drivers/irqchip/irq-bcm2836.c:227:12: warning: symbol 'bcm2836_smp_boot_secondary' was not declared. Should it be static?

Quoted 8 lines

---
Cc: Thomas Gleixner <[email protected]>
Cc: Jason Cooper <[email protected]>
Cc: Marc Zyngier <[email protected]>
Cc: linux-arm-kernel at lists.infradead.org

---
 drivers/irqchip/irq-bcm2836.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

This, and the rest of the irqchip/ ones, applied to irqchip/misc.

thx,

Jason.

author
#2 lore raw

PATCH 1/1 irqchip/bcm2836: make bcm2836_smp_boot_secondary static

Quoted 18 lines · Jason Cooper

Hey Ben,

Quoted 6 lines · Ben Dooks

The bcm2836_smp_boot_secondary() is not declared or used elsewhere so make it static to fix the following warning:

drivers/irqchip/irq-bcm2836.c:227:12: warning: symbol 'bcm2836_smp_boot_secondary' was not declared. Should it be static?

Quoted 8 lines

---
Cc: Thomas Gleixner <[email protected]>
Cc: Jason Cooper <[email protected]>
Cc: Marc Zyngier <[email protected]>
Cc: linux-arm-kernel at lists.infradead.org

---
 drivers/irqchip/irq-bcm2836.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Quoted 1 line

This, and the rest of the irqchip/ ones, applied to irqchip/misc.

Thank you, so hopefully it'll be included in -next soon?

Signature · 2 lines
Ben Dooks				http://www.codethink.co.uk/
Senior Engineer				Codethink - Providing Genius
#3 lore raw

PATCH 1/1 irqchip/bcm2836: make bcm2836_smp_boot_secondary static

Quoted 19 lines · Ben Dooks
Quoted 18 lines · Jason Cooper

Hey Ben,

Quoted 14 lines · Ben Dooks

The bcm2836_smp_boot_secondary() is not declared or used elsewhere so make it static to fix the following warning:

drivers/irqchip/irq-bcm2836.c:227:12: warning: symbol 'bcm2836_smp_boot_secondary' was not declared. Should it be static?

---
Cc: Thomas Gleixner <[email protected]>
Cc: Jason Cooper <[email protected]>
Cc: Marc Zyngier <[email protected]>
Cc: linux-arm-kernel at lists.infradead.org

---
 drivers/irqchip/irq-bcm2836.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Quoted 3 lines
Quoted 1 line

This, and the rest of the irqchip/ ones, applied to irqchip/misc.

Thank you, so hopefully it'll be included in -next soon?

hmmm, I just checked myself. It appears that the series in irqchip/misc has been in at least two runs of linux-next. Do you see something different?

Here's the commit hashes:

$ git ldo --graph v4.7-rc1^..HEAD
*   ebf63bb87f67 (HEAD -> irqchip/for-next, infradead/irqchip/for-next) Merge branch 'irqchip/misc' into irqchip/for-next
|\  
| * df042a5f4ce4 (infradead/irqchip/misc, irqchip/misc) irqchip/vic: Make vic_syscore_ops and vic_of_init static
| * f3142635de32 irqchip/omap-intc: Fix missing <linux/irqchip/irq-omap-intc.h> include
| * 7c034f169973 irqchip/gic-v2m: Fix missing include of <linux/irqchip/arm-gic.h>
| * 2ae9add9d82d irqchip/brcmstb-l2: Make of probe function static
| * dde7e6d1abdc irqchip/bcm7120-l2: Make probe functions static
| * 1eeb67362d93 irqchip/bcm2836: Make bcm2836_smp_boot_secondary static
| * 6c880902419e irqchip/armada-370-xp: Make syscore_ops static
| * f6fbaaa4c0fc irqchip/tegra: Fix sparse warnings on __iomem
| * 4a3691ccb3ce irqchip/sirfsoc: Fix sparse warnings on __iomem
* | d7e3528eed85 (infradead/irqchip/bcm, irqchip/bcm) irqchip: bcm2835: Avoid arch/arm-specific handle_IRQ
|/  
* 1a695a905c18 (tag: v4.7-rc1, linux-phy/next, infradead/irqchip/urgent, infradead/irqchip/core, arm-soc/master, irqchip/urgent, irqchip/core) Linux 4.7-rc1

hth,

Jason.

author
#4 lore raw

PATCH 1/1 irqchip/bcm2836: make bcm2836_smp_boot_secondary static

Quoted 20 lines · Jason Cooper
Quoted 19 lines · Ben Dooks
Quoted 18 lines · Jason Cooper

Hey Ben,

Quoted 14 lines · Ben Dooks

The bcm2836_smp_boot_secondary() is not declared or used elsewhere so make it static to fix the following warning:

drivers/irqchip/irq-bcm2836.c:227:12: warning: symbol 'bcm2836_smp_boot_secondary' was not declared. Should it be static?

---
Cc: Thomas Gleixner <[email protected]>
Cc: Jason Cooper <[email protected]>
Cc: Marc Zyngier <[email protected]>
Cc: linux-arm-kernel at lists.infradead.org

---
 drivers/irqchip/irq-bcm2836.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Quoted 7 lines
Quoted 3 lines
Quoted 1 line

This, and the rest of the irqchip/ ones, applied to irqchip/misc.

Thank you, so hopefully it'll be included in -next soon?

hmmm, I just checked myself. It appears that the series in irqchip/misc has been in at least two runs of linux-next. Do you see something different?

yes, I did git remote-update in a different git repo tree and then looked in a gitg on an different repo :(

Signature · 2 lines
Ben Dooks				http://www.codethink.co.uk/
Senior Engineer				Codethink - Providing Genius