linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/3] ARM: mxs: mm: Fix sparse warning
@ 2013-02-11 14:01 Fabio Estevam
  2013-02-11 14:01 ` [PATCH 2/3] ARM: mxs: icoll: " Fabio Estevam
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Fabio Estevam @ 2013-02-11 14:01 UTC (permalink / raw)
  To: linux-arm-kernel

From: Fabio Estevam <fabio.estevam@freescale.com>

Include <mach/common.h> header to fix the following sparse warnings:

arch/arm/mach-mxs/mm.c:43:13: warning: symbol 'mx23_map_io' was not declared. Should it be static?
arch/arm/mach-mxs/mm.c:48:13: warning: symbol 'mx28_map_io' was not declared. Should it be static?

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
 arch/arm/mach-mxs/mm.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/mach-mxs/mm.c b/arch/arm/mach-mxs/mm.c
index a4294aa..e63b7d8 100644
--- a/arch/arm/mach-mxs/mm.c
+++ b/arch/arm/mach-mxs/mm.c
@@ -18,6 +18,7 @@
 
 #include <mach/mx23.h>
 #include <mach/mx28.h>
+#include <mach/common.h>
 
 /*
  * Define the MX23 memory map.
-- 
1.7.9.5

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

* [PATCH 2/3] ARM: mxs: icoll: Fix sparse warning
  2013-02-11 14:01 [PATCH 1/3] ARM: mxs: mm: Fix sparse warning Fabio Estevam
@ 2013-02-11 14:01 ` Fabio Estevam
  2013-02-11 14:01 ` [PATCH 3/3] ARM: mxs: ocotp: " Fabio Estevam
  2013-02-17  8:01 ` [PATCH 1/3] ARM: mxs: mm: " Shawn Guo
  2 siblings, 0 replies; 4+ messages in thread
From: Fabio Estevam @ 2013-02-11 14:01 UTC (permalink / raw)
  To: linux-arm-kernel

From: Fabio Estevam <fabio.estevam@freescale.com>

Fix the following sparse warning:

arch/arm/mach-mxs/icoll.c:103:13: warning: symbol 'icoll_of_init' was not declared. Should it be static?

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
 arch/arm/mach-mxs/icoll.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-mxs/icoll.c b/arch/arm/mach-mxs/icoll.c
index 8fb23af..e26eeba 100644
--- a/arch/arm/mach-mxs/icoll.c
+++ b/arch/arm/mach-mxs/icoll.c
@@ -100,7 +100,7 @@ static struct irq_domain_ops icoll_irq_domain_ops = {
 	.xlate = irq_domain_xlate_onecell,
 };
 
-void __init icoll_of_init(struct device_node *np,
+static void __init icoll_of_init(struct device_node *np,
 			  struct device_node *interrupt_parent)
 {
 	/*
-- 
1.7.9.5

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

* [PATCH 3/3] ARM: mxs: ocotp: Fix sparse warning
  2013-02-11 14:01 [PATCH 1/3] ARM: mxs: mm: Fix sparse warning Fabio Estevam
  2013-02-11 14:01 ` [PATCH 2/3] ARM: mxs: icoll: " Fabio Estevam
@ 2013-02-11 14:01 ` Fabio Estevam
  2013-02-17  8:01 ` [PATCH 1/3] ARM: mxs: mm: " Shawn Guo
  2 siblings, 0 replies; 4+ messages in thread
From: Fabio Estevam @ 2013-02-11 14:01 UTC (permalink / raw)
  To: linux-arm-kernel

From: Fabio Estevam <fabio.estevam@freescale.com>

Include <mach/common.h> header to fix the following sparse warning:

arch/arm/mach-mxs/ocotp.c:33:11: warning: symbol 'mxs_get_ocotp' was not declared. Should it be static?

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
 arch/arm/mach-mxs/ocotp.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/mach-mxs/ocotp.c b/arch/arm/mach-mxs/ocotp.c
index 54add60..1dff467 100644
--- a/arch/arm/mach-mxs/ocotp.c
+++ b/arch/arm/mach-mxs/ocotp.c
@@ -19,6 +19,7 @@
 #include <asm/processor.h>	/* for cpu_relax() */
 
 #include <mach/mxs.h>
+#include <mach/common.h>
 
 #define OCOTP_WORD_OFFSET		0x20
 #define OCOTP_WORD_COUNT		0x20
-- 
1.7.9.5

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

* [PATCH 1/3] ARM: mxs: mm: Fix sparse warning
  2013-02-11 14:01 [PATCH 1/3] ARM: mxs: mm: Fix sparse warning Fabio Estevam
  2013-02-11 14:01 ` [PATCH 2/3] ARM: mxs: icoll: " Fabio Estevam
  2013-02-11 14:01 ` [PATCH 3/3] ARM: mxs: ocotp: " Fabio Estevam
@ 2013-02-17  8:01 ` Shawn Guo
  2 siblings, 0 replies; 4+ messages in thread
From: Shawn Guo @ 2013-02-17  8:01 UTC (permalink / raw)
  To: linux-arm-kernel

On Mon, Feb 11, 2013 at 12:01:46PM -0200, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam@freescale.com>
> 
> Include <mach/common.h> header to fix the following sparse warnings:
> 
> arch/arm/mach-mxs/mm.c:43:13: warning: symbol 'mx23_map_io' was not declared. Should it be static?
> arch/arm/mach-mxs/mm.c:48:13: warning: symbol 'mx28_map_io' was not declared. Should it be static?
> 
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>

Queued all 3 for 3.10, as I do not categorize them as critical fixes.

Shawn

> ---
>  arch/arm/mach-mxs/mm.c |    1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm/mach-mxs/mm.c b/arch/arm/mach-mxs/mm.c
> index a4294aa..e63b7d8 100644
> --- a/arch/arm/mach-mxs/mm.c
> +++ b/arch/arm/mach-mxs/mm.c
> @@ -18,6 +18,7 @@
>  
>  #include <mach/mx23.h>
>  #include <mach/mx28.h>
> +#include <mach/common.h>
>  
>  /*
>   * Define the MX23 memory map.
> -- 
> 1.7.9.5
> 

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

end of thread, other threads:[~2013-02-17  8:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-11 14:01 [PATCH 1/3] ARM: mxs: mm: Fix sparse warning Fabio Estevam
2013-02-11 14:01 ` [PATCH 2/3] ARM: mxs: icoll: " Fabio Estevam
2013-02-11 14:01 ` [PATCH 3/3] ARM: mxs: ocotp: " Fabio Estevam
2013-02-17  8:01 ` [PATCH 1/3] ARM: mxs: mm: " Shawn Guo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).