All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH linux-next] ARM: keystone: fix compilation warning
@ 2013-06-27 12:49 ` Vincent Stehlé
  0 siblings, 0 replies; 9+ messages in thread
From: Vincent Stehlé @ 2013-06-27 12:49 UTC (permalink / raw)
  To: linux-next, linux-kernel, linux-arm-kernel
  Cc: Vincent Stehlé, Robin Holt, Russell King, trivial

Fix the following compilation warning:

  arch/arm/mach-keystone/keystone.c:74:2: warning: initialization from incompatible pointer type [enabled by default]
  arch/arm/mach-keystone/keystone.c:74:2: warning: (near initialization for ‘__mach_desc_KEYSTONE.restart’) [enabled by default]

Signed-off-by: Vincent Stehlé <vincent.stehle@freescale.com>
Cc: Robin Holt <holt@sgi.com>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: trivial@kernel.org
---


Hi,

This warning was seen on linux-next tag next-20130627, with config ARM
multi_v7_defconfig.

Best regards,

V.


 arch/arm/mach-keystone/keystone.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-keystone/keystone.c b/arch/arm/mach-keystone/keystone.c
index fe4d9ff..b661c5c 100644
--- a/arch/arm/mach-keystone/keystone.c
+++ b/arch/arm/mach-keystone/keystone.c
@@ -49,7 +49,7 @@ static const char *keystone_match[] __initconst = {
 	NULL,
 };
 
-void keystone_restart(char mode, const char *cmd)
+void keystone_restart(enum reboot_mode mode, const char *cmd)
 {
 	u32 val;
 
-- 
1.7.10.4




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

* [PATCH linux-next] ARM: keystone: fix compilation warning
@ 2013-06-27 12:49 ` Vincent Stehlé
  0 siblings, 0 replies; 9+ messages in thread
From: Vincent Stehlé @ 2013-06-27 12:49 UTC (permalink / raw)
  To: linux-next, linux-kernel, linux-arm-kernel
  Cc: Vincent Stehlé, Robin Holt, Russell King, trivial

Fix the following compilation warning:

  arch/arm/mach-keystone/keystone.c:74:2: warning: initialization from incompatible pointer type [enabled by default]
  arch/arm/mach-keystone/keystone.c:74:2: warning: (near initialization for ‘__mach_desc_KEYSTONE.restart’) [enabled by default]

Signed-off-by: Vincent Stehlé <vincent.stehle@freescale.com>
Cc: Robin Holt <holt@sgi.com>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: trivial@kernel.org
---


Hi,

This warning was seen on linux-next tag next-20130627, with config ARM
multi_v7_defconfig.

Best regards,

V.


 arch/arm/mach-keystone/keystone.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-keystone/keystone.c b/arch/arm/mach-keystone/keystone.c
index fe4d9ff..b661c5c 100644
--- a/arch/arm/mach-keystone/keystone.c
+++ b/arch/arm/mach-keystone/keystone.c
@@ -49,7 +49,7 @@ static const char *keystone_match[] __initconst = {
 	NULL,
 };
 
-void keystone_restart(char mode, const char *cmd)
+void keystone_restart(enum reboot_mode mode, const char *cmd)
 {
 	u32 val;
 
-- 
1.7.10.4

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

* [PATCH linux-next] ARM: keystone: fix compilation warning
@ 2013-06-27 12:49 ` Vincent Stehlé
  0 siblings, 0 replies; 9+ messages in thread
From: Vincent Stehlé @ 2013-06-27 12:49 UTC (permalink / raw)
  To: linux-arm-kernel

Fix the following compilation warning:

  arch/arm/mach-keystone/keystone.c:74:2: warning: initialization from incompatible pointer type [enabled by default]
  arch/arm/mach-keystone/keystone.c:74:2: warning: (near initialization for ?__mach_desc_KEYSTONE.restart?) [enabled by default]

Signed-off-by: Vincent Stehl? <vincent.stehle@freescale.com>
Cc: Robin Holt <holt@sgi.com>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: trivial at kernel.org
---


Hi,

This warning was seen on linux-next tag next-20130627, with config ARM
multi_v7_defconfig.

Best regards,

V.


 arch/arm/mach-keystone/keystone.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-keystone/keystone.c b/arch/arm/mach-keystone/keystone.c
index fe4d9ff..b661c5c 100644
--- a/arch/arm/mach-keystone/keystone.c
+++ b/arch/arm/mach-keystone/keystone.c
@@ -49,7 +49,7 @@ static const char *keystone_match[] __initconst = {
 	NULL,
 };
 
-void keystone_restart(char mode, const char *cmd)
+void keystone_restart(enum reboot_mode mode, const char *cmd)
 {
 	u32 val;
 
-- 
1.7.10.4

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

* Re: [PATCH linux-next] ARM: keystone: fix compilation warning
  2013-06-27 12:49 ` Vincent Stehlé
  (?)
@ 2013-06-28  0:23   ` Stephen Rothwell
  -1 siblings, 0 replies; 9+ messages in thread
From: Stephen Rothwell @ 2013-06-28  0:23 UTC (permalink / raw)
  To: Vincent Stehlé
  Cc: linux-next, linux-kernel, linux-arm-kernel, Robin Holt,
	Russell King, trivial, Andrew Morton

[-- Attachment #1: Type: text/plain, Size: 1458 bytes --]

Hi Vincent,

On Thu, 27 Jun 2013 14:49:27 +0200 Vincent Stehlé <vincent.stehle@freescale.com> wrote:
>
> Fix the following compilation warning:
> 
>   arch/arm/mach-keystone/keystone.c:74:2: warning: initialization from incompatible pointer type [enabled by default]
>   arch/arm/mach-keystone/keystone.c:74:2: warning: (near initialization for ‘__mach_desc_KEYSTONE.restart’) [enabled by default]
> 
> Signed-off-by: Vincent Stehlé <vincent.stehle@freescale.com>
> Cc: Robin Holt <holt@sgi.com>
> Cc: Russell King <linux@arm.linux.org.uk>
> Cc: trivial@kernel.org
> ---
> 
> 
> Hi,
> 
> This warning was seen on linux-next tag next-20130627, with config ARM
> multi_v7_defconfig.

This is only needed after the merge of the akpm tree, so I will add it
there for today.

> Best regards,
> 
> V.
> 
> 
>  arch/arm/mach-keystone/keystone.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/mach-keystone/keystone.c b/arch/arm/mach-keystone/keystone.c
> index fe4d9ff..b661c5c 100644
> --- a/arch/arm/mach-keystone/keystone.c
> +++ b/arch/arm/mach-keystone/keystone.c
> @@ -49,7 +49,7 @@ static const char *keystone_match[] __initconst = {
>  	NULL,
>  };
>  
> -void keystone_restart(char mode, const char *cmd)
> +void keystone_restart(enum reboot_mode mode, const char *cmd)
>  {
>  	u32 val;
>  

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

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

* Re: [PATCH linux-next] ARM: keystone: fix compilation warning
@ 2013-06-28  0:23   ` Stephen Rothwell
  0 siblings, 0 replies; 9+ messages in thread
From: Stephen Rothwell @ 2013-06-28  0:23 UTC (permalink / raw)
  To: Vincent Stehlé
  Cc: linux-next, linux-kernel, linux-arm-kernel, Robin Holt,
	Russell King, trivial, Andrew Morton

[-- Attachment #1: Type: text/plain, Size: 1458 bytes --]

Hi Vincent,

On Thu, 27 Jun 2013 14:49:27 +0200 Vincent Stehlé <vincent.stehle@freescale.com> wrote:
>
> Fix the following compilation warning:
> 
>   arch/arm/mach-keystone/keystone.c:74:2: warning: initialization from incompatible pointer type [enabled by default]
>   arch/arm/mach-keystone/keystone.c:74:2: warning: (near initialization for ‘__mach_desc_KEYSTONE.restart’) [enabled by default]
> 
> Signed-off-by: Vincent Stehlé <vincent.stehle@freescale.com>
> Cc: Robin Holt <holt@sgi.com>
> Cc: Russell King <linux@arm.linux.org.uk>
> Cc: trivial@kernel.org
> ---
> 
> 
> Hi,
> 
> This warning was seen on linux-next tag next-20130627, with config ARM
> multi_v7_defconfig.

This is only needed after the merge of the akpm tree, so I will add it
there for today.

> Best regards,
> 
> V.
> 
> 
>  arch/arm/mach-keystone/keystone.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/mach-keystone/keystone.c b/arch/arm/mach-keystone/keystone.c
> index fe4d9ff..b661c5c 100644
> --- a/arch/arm/mach-keystone/keystone.c
> +++ b/arch/arm/mach-keystone/keystone.c
> @@ -49,7 +49,7 @@ static const char *keystone_match[] __initconst = {
>  	NULL,
>  };
>  
> -void keystone_restart(char mode, const char *cmd)
> +void keystone_restart(enum reboot_mode mode, const char *cmd)
>  {
>  	u32 val;
>  

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

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

* [PATCH linux-next] ARM: keystone: fix compilation warning
@ 2013-06-28  0:23   ` Stephen Rothwell
  0 siblings, 0 replies; 9+ messages in thread
From: Stephen Rothwell @ 2013-06-28  0:23 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Vincent,

On Thu, 27 Jun 2013 14:49:27 +0200 Vincent Stehl? <vincent.stehle@freescale.com> wrote:
>
> Fix the following compilation warning:
> 
>   arch/arm/mach-keystone/keystone.c:74:2: warning: initialization from incompatible pointer type [enabled by default]
>   arch/arm/mach-keystone/keystone.c:74:2: warning: (near initialization for ?__mach_desc_KEYSTONE.restart?) [enabled by default]
> 
> Signed-off-by: Vincent Stehl? <vincent.stehle@freescale.com>
> Cc: Robin Holt <holt@sgi.com>
> Cc: Russell King <linux@arm.linux.org.uk>
> Cc: trivial at kernel.org
> ---
> 
> 
> Hi,
> 
> This warning was seen on linux-next tag next-20130627, with config ARM
> multi_v7_defconfig.

This is only needed after the merge of the akpm tree, so I will add it
there for today.

> Best regards,
> 
> V.
> 
> 
>  arch/arm/mach-keystone/keystone.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/mach-keystone/keystone.c b/arch/arm/mach-keystone/keystone.c
> index fe4d9ff..b661c5c 100644
> --- a/arch/arm/mach-keystone/keystone.c
> +++ b/arch/arm/mach-keystone/keystone.c
> @@ -49,7 +49,7 @@ static const char *keystone_match[] __initconst = {
>  	NULL,
>  };
>  
> -void keystone_restart(char mode, const char *cmd)
> +void keystone_restart(enum reboot_mode mode, const char *cmd)
>  {
>  	u32 val;
>  

-- 
Cheers,
Stephen Rothwell                    sfr at canb.auug.org.au
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20130628/904f0fef/attachment.sig>

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

* Re: [PATCH linux-next] ARM: keystone: fix compilation warning
  2013-06-28  0:23   ` Stephen Rothwell
  (?)
@ 2013-06-28  0:36     ` Stephen Rothwell
  -1 siblings, 0 replies; 9+ messages in thread
From: Stephen Rothwell @ 2013-06-28  0:36 UTC (permalink / raw)
  To: Vincent Stehlé
  Cc: linux-next, linux-kernel, linux-arm-kernel, Robin Holt,
	Russell King, trivial, Andrew Morton

[-- Attachment #1: Type: text/plain, Size: 341 bytes --]

Hi all,

On Fri, 28 Jun 2013 10:23:08 +1000 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> This is only needed after the merge of the akpm tree, so I will add it
> there for today.

I changed my mind and applied Arnd's patch instead (see my other reply).

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

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

* Re: [PATCH linux-next] ARM: keystone: fix compilation warning
@ 2013-06-28  0:36     ` Stephen Rothwell
  0 siblings, 0 replies; 9+ messages in thread
From: Stephen Rothwell @ 2013-06-28  0:36 UTC (permalink / raw)
  To: Vincent Stehlé
  Cc: linux-next, linux-kernel, linux-arm-kernel, Robin Holt,
	Russell King, trivial, Andrew Morton

[-- Attachment #1: Type: text/plain, Size: 341 bytes --]

Hi all,

On Fri, 28 Jun 2013 10:23:08 +1000 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> This is only needed after the merge of the akpm tree, so I will add it
> there for today.

I changed my mind and applied Arnd's patch instead (see my other reply).

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

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

* [PATCH linux-next] ARM: keystone: fix compilation warning
@ 2013-06-28  0:36     ` Stephen Rothwell
  0 siblings, 0 replies; 9+ messages in thread
From: Stephen Rothwell @ 2013-06-28  0:36 UTC (permalink / raw)
  To: linux-arm-kernel

Hi all,

On Fri, 28 Jun 2013 10:23:08 +1000 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> This is only needed after the merge of the akpm tree, so I will add it
> there for today.

I changed my mind and applied Arnd's patch instead (see my other reply).

-- 
Cheers,
Stephen Rothwell                    sfr at canb.auug.org.au
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20130628/8263309d/attachment.sig>

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

end of thread, other threads:[~2013-06-28  0:37 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-27 12:49 [PATCH linux-next] ARM: keystone: fix compilation warning Vincent Stehlé
2013-06-27 12:49 ` Vincent Stehlé
2013-06-27 12:49 ` Vincent Stehlé
2013-06-28  0:23 ` Stephen Rothwell
2013-06-28  0:23   ` Stephen Rothwell
2013-06-28  0:23   ` Stephen Rothwell
2013-06-28  0:36   ` Stephen Rothwell
2013-06-28  0:36     ` Stephen Rothwell
2013-06-28  0:36     ` Stephen Rothwell

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.