Skip to contentSkip to conversation

ARM: Kirkwood: make kirkwood_disable_mbus_error_propagation() static

PATCH New Ben Dooks 3 participants 3 messages Jun 9, 2016 – Jun 16, 2016

Subsystems (3)
lore
Share & tools
lore

Ben Dooks

author
#0 lore raw

PATCH 1/1 ARM: Kirkwood: make kirkwood_disable_mbus_error_propagation() static

The kirkwood_disable_mbus_error_propagation is not exported or declared elsewhere, so make it static to avoid the following warning:

arch/arm/mach-mvebu/kirkwood.c:153:6: warning: symbol 'kirkwood_disable_mbus_error_propagation' was not declared. Should it be static?

---
Cc: Jason Cooper <[email protected]>
Cc: Andrew Lunn <[email protected]>
Cc: Gregory Clement <[email protected]>
Cc: Sebastian Hesselbarth <[email protected]>
Cc: linux-arm-kernel at lists.infradead.org

---
 arch/arm/mach-mvebu/kirkwood.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-mvebu/kirkwood.c +1 -1
index f9d8e1e..a3f4029 100644
@@ -150,7 +150,7 @@ eth_fixup_skip:
  * causes mbus errors (which can occur for example for PCI aborts) to
  * throw CPU aborts, which we're not set up to deal with.
  */
-void kirkwood_disable_mbus_error_propagation(void)
+static void kirkwood_disable_mbus_error_propagation(void)
 {
 	void __iomem *cpu_config;
 
Signature · 1 line
2.8.1
maintainer
#1 lore raw

PATCH 1/1 ARM: Kirkwood: make kirkwood_disable_mbus_error_propagation() static

Quoted 6 lines · Ben Dooks

The kirkwood_disable_mbus_error_propagation is not exported or declared elsewhere, so make it static to avoid the following warning:

arch/arm/mach-mvebu/kirkwood.c:153:6: warning: symbol 'kirkwood_disable_mbus_error_propagation' was not declared. Should it be static?

Andrew

#2 lore raw

PATCH 1/1 ARM: Kirkwood: make kirkwood_disable_mbus_error_propagation() static

In reply to Ben Dooks

Hi Ben,

Quoted 6 lines · Ben Dooks

The kirkwood_disable_mbus_error_propagation is not exported or declared elsewhere, so make it static to avoid the following warning:

arch/arm/mach-mvebu/kirkwood.c:153:6: warning: symbol 'kirkwood_disable_mbus_error_propagation' was not declared. Should it be static?

Applied on mvebu/cleanup

Thanks,

Gregory

Quoted 26 lines

---
Cc: Jason Cooper <[email protected]>
Cc: Andrew Lunn <[email protected]>
Cc: Gregory Clement <[email protected]>
Cc: Sebastian Hesselbarth <[email protected]>
Cc: linux-arm-kernel at lists.infradead.org

---
 arch/arm/mach-mvebu/kirkwood.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-mvebu/kirkwood.c +1 -1
index f9d8e1e..a3f4029 100644
@@ -150,7 +150,7 @@ eth_fixup_skip:
  * causes mbus errors (which can occur for example for PCI aborts) to
  * throw CPU aborts, which we're not set up to deal with.
  */
-void kirkwood_disable_mbus_error_propagation(void)
+static void kirkwood_disable_mbus_error_propagation(void)
 {
 	void __iomem *cpu_config;
 
Signature · 1 line
2.8.1
Signature · 4 lines
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com