All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: orion5x: make orion5x_legacy_handle_irq static
@ 2016-06-09  9:59 Ben Dooks
  2016-06-09 13:23 ` Andrew Lunn
  2016-06-16  9:59 ` Gregory CLEMENT
  0 siblings, 2 replies; 3+ messages in thread
From: Ben Dooks @ 2016-06-09  9:59 UTC (permalink / raw)
  To: linux-arm-kernel

The orion5x_legacy_handle_irq() is not used or declared outside
of irq.c so make it static to avoid the following warning:

arch/arm/mach-orion5x/irq.c:30:23: warning: symbol 'orion5x_legacy_handle_irq' was not declared. Should it be static?

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
---
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Cc: Gregory Clement <gregory.clement@free-electrons.com>
Cc: linux-arm-kernel at lists.infradead.org
---
 arch/arm/mach-orion5x/irq.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-orion5x/irq.c b/arch/arm/mach-orion5x/irq.c
index de980ef..ac4af22 100644
--- a/arch/arm/mach-orion5x/irq.c
+++ b/arch/arm/mach-orion5x/irq.c
@@ -26,7 +26,7 @@ static int __initdata gpio0_irqs[4] = {
 	IRQ_ORION5X_GPIO_24_31,
 };
 
-asmlinkage void
+static asmlinkage void
 __exception_irq_entry orion5x_legacy_handle_irq(struct pt_regs *regs)
 {
 	u32 stat;
-- 
2.8.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH] ARM: orion5x: make orion5x_legacy_handle_irq static
  2016-06-09  9:59 [PATCH] ARM: orion5x: make orion5x_legacy_handle_irq static Ben Dooks
@ 2016-06-09 13:23 ` Andrew Lunn
  2016-06-16  9:59 ` Gregory CLEMENT
  1 sibling, 0 replies; 3+ messages in thread
From: Andrew Lunn @ 2016-06-09 13:23 UTC (permalink / raw)
  To: linux-arm-kernel

On Thu, Jun 09, 2016 at 10:59:05AM +0100, Ben Dooks wrote:
> The orion5x_legacy_handle_irq() is not used or declared outside
> of irq.c so make it static to avoid the following warning:
> 
> arch/arm/mach-orion5x/irq.c:30:23: warning: symbol 'orion5x_legacy_handle_irq' was not declared. Should it be static?
> 
> Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>

Acked-by: Andrew Lunn <andrew@lunn.ch>

    Andrew

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH] ARM: orion5x: make orion5x_legacy_handle_irq static
  2016-06-09  9:59 [PATCH] ARM: orion5x: make orion5x_legacy_handle_irq static Ben Dooks
  2016-06-09 13:23 ` Andrew Lunn
@ 2016-06-16  9:59 ` Gregory CLEMENT
  1 sibling, 0 replies; 3+ messages in thread
From: Gregory CLEMENT @ 2016-06-16  9:59 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Ben,
 
 On jeu., juin 09 2016, Ben Dooks <ben.dooks@codethink.co.uk> wrote:

> The orion5x_legacy_handle_irq() is not used or declared outside
> of irq.c so make it static to avoid the following warning:
>
> arch/arm/mach-orion5x/irq.c:30:23: warning: symbol 'orion5x_legacy_handle_irq' was not declared. Should it be static?
>
> Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>

Applied on mvebu/cleanup

Thanks,

Gregory

> ---
> Cc: Jason Cooper <jason@lakedaemon.net>
> Cc: Andrew Lunn <andrew@lunn.ch>
> Cc: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
> Cc: Gregory Clement <gregory.clement@free-electrons.com>
> Cc: linux-arm-kernel at lists.infradead.org
> ---
>  arch/arm/mach-orion5x/irq.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/mach-orion5x/irq.c b/arch/arm/mach-orion5x/irq.c
> index de980ef..ac4af22 100644
> --- a/arch/arm/mach-orion5x/irq.c
> +++ b/arch/arm/mach-orion5x/irq.c
> @@ -26,7 +26,7 @@ static int __initdata gpio0_irqs[4] = {
>  	IRQ_ORION5X_GPIO_24_31,
>  };
>  
> -asmlinkage void
> +static asmlinkage void
>  __exception_irq_entry orion5x_legacy_handle_irq(struct pt_regs *regs)
>  {
>  	u32 stat;
> -- 
> 2.8.1
>

-- 
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-06-16  9:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-09  9:59 [PATCH] ARM: orion5x: make orion5x_legacy_handle_irq static Ben Dooks
2016-06-09 13:23 ` Andrew Lunn
2016-06-16  9:59 ` Gregory CLEMENT

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.