linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH linux-next] arm: zynq: fix compilation warning
@ 2013-06-27 12:42 Vincent Stehlé
  2013-06-27 13:01 ` Michal Simek
  0 siblings, 1 reply; 4+ messages in thread
From: Vincent Stehlé @ 2013-06-27 12:42 UTC (permalink / raw)
  To: linux-next, linux-kernel, linux-arm-kernel
  Cc: Vincent Stehlé, Robin Holt, Michal Simek, Russell King,
	trivial

Fix the following compilation warning:

  arch/arm/mach-zynq/common.c:110:2: warning: initialization from incompatible pointer type [enabled by default]
  arch/arm/mach-zynq/common.c:110:2: warning: (near initialization for ‘__mach_desc_XILINX_EP107.restart’) [enabled by default]

Signed-off-by: Vincent Stehlé <vincent.stehle@freescale.com>
Cc: Robin Holt <holt@sgi.com>
Cc: Michal Simek <michal.simek@xilinx.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-zynq/common.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-zynq/common.c b/arch/arm/mach-zynq/common.c
index 4130e65..8ea5f11 100644
--- a/arch/arm/mach-zynq/common.c
+++ b/arch/arm/mach-zynq/common.c
@@ -91,7 +91,7 @@ static void __init zynq_map_io(void)
 	zynq_scu_map_io();
 }
 
-static void zynq_system_reset(char mode, const char *cmd)
+static void zynq_system_reset(enum reboot_mode mode, const char *cmd)
 {
 	zynq_slcr_system_reset();
 }
-- 
1.7.10.4

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

* Re: [PATCH linux-next] arm: zynq: fix compilation warning
  2013-06-27 12:42 [PATCH linux-next] arm: zynq: fix compilation warning Vincent Stehlé
@ 2013-06-27 13:01 ` Michal Simek
  2013-06-28  0:38   ` Stephen Rothwell
  0 siblings, 1 reply; 4+ messages in thread
From: Michal Simek @ 2013-06-27 13:01 UTC (permalink / raw)
  To: Vincent Stehlé
  Cc: linux-next, linux-kernel, linux-arm-kernel, Robin Holt,
	Michal Simek, Russell King, trivial, Arnd Bergmann

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

Hi Vincent,

Arnd asked in this post
http://www.mail-archive.com/linux-kernel@vger.kernel.org/msg454947.html
to fold his small patch to that larger one.

Not sure why it is not there.
Arnd, Robin?

Thanks
Michal


On 06/27/2013 02:42 PM, Vincent Stehlé wrote:
> Fix the following compilation warning:
> 
>   arch/arm/mach-zynq/common.c:110:2: warning: initialization from incompatible pointer type [enabled by default]
>   arch/arm/mach-zynq/common.c:110:2: warning: (near initialization for ‘__mach_desc_XILINX_EP107.restart’) [enabled by default]
> 
> Signed-off-by: Vincent Stehlé <vincent.stehle@freescale.com>
> Cc: Robin Holt <holt@sgi.com>
> Cc: Michal Simek <michal.simek@xilinx.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-zynq/common.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/mach-zynq/common.c b/arch/arm/mach-zynq/common.c
> index 4130e65..8ea5f11 100644
> --- a/arch/arm/mach-zynq/common.c
> +++ b/arch/arm/mach-zynq/common.c
> @@ -91,7 +91,7 @@ static void __init zynq_map_io(void)
>  	zynq_scu_map_io();
>  }
>  
> -static void zynq_system_reset(char mode, const char *cmd)
> +static void zynq_system_reset(enum reboot_mode mode, const char *cmd)
>  {
>  	zynq_slcr_system_reset();
>  }
> 


-- 
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/
Maintainer of Linux kernel - Xilinx Zynq ARM architecture
Microblaze U-BOOT custodian and responsible for u-boot arm zynq platform



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 263 bytes --]

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

* Re: [PATCH linux-next] arm: zynq: fix compilation warning
  2013-06-27 13:01 ` Michal Simek
@ 2013-06-28  0:38   ` Stephen Rothwell
  2013-07-23 18:03     ` Olof Johansson
  0 siblings, 1 reply; 4+ messages in thread
From: Stephen Rothwell @ 2013-06-28  0:38 UTC (permalink / raw)
  To: monstr
  Cc: Vincent Stehlé, linux-next, linux-kernel, linux-arm-kernel,
	Robin Holt, Michal Simek, Russell King, trivial, Arnd Bergmann,
	Andrew Morton

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

On Thu, 27 Jun 2013 15:01:51 +0200 Michal Simek <monstr@monstr.eu> wrote:
>
> Arnd asked in this post
> http://www.mail-archive.com/linux-kernel@vger.kernel.org/msg454947.html
> to fold his small patch to that larger one.
> 
> Not sure why it is not there.
> Arnd, Robin?

Should have asked Andrew :-)

I have added (most of) Arnd's patch to the end of the akpm tree today.

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

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

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

* Re: [PATCH linux-next] arm: zynq: fix compilation warning
  2013-06-28  0:38   ` Stephen Rothwell
@ 2013-07-23 18:03     ` Olof Johansson
  0 siblings, 0 replies; 4+ messages in thread
From: Olof Johansson @ 2013-07-23 18:03 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: Michal Simek, Russell King, Arnd Bergmann, Vincent Stehlé,
	linux-kernel@vger.kernel.org, Michal Simek,
	linux-next@vger.kernel.org, Robin Holt, trivial, Andrew Morton,
	linux-arm-kernel@lists.infradead.org

On Thu, Jun 27, 2013 at 5:38 PM, Stephen Rothwell <sfr@canb.auug.org.au> wrote:
> On Thu, 27 Jun 2013 15:01:51 +0200 Michal Simek <monstr@monstr.eu> wrote:
>>
>> Arnd asked in this post
>> http://www.mail-archive.com/linux-kernel@vger.kernel.org/msg454947.html
>> to fold his small patch to that larger one.
>>
>> Not sure why it is not there.
>> Arnd, Robin?
>
> Should have asked Andrew :-)
>
> I have added (most of) Arnd's patch to the end of the akpm tree today.

It was a dependency thing where new code was added in arm-soc, so the
sweeping patches in Andrew's tree couldn't cover them (without adding
said dependency and thus no longer apply on top of mainline).

I'll apply this and the keystone fix to the arm-soc fixes branch now
for 3.11-rc3.


-Olof

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

end of thread, other threads:[~2013-07-23 18:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-27 12:42 [PATCH linux-next] arm: zynq: fix compilation warning Vincent Stehlé
2013-06-27 13:01 ` Michal Simek
2013-06-28  0:38   ` Stephen Rothwell
2013-07-23 18:03     ` Olof Johansson

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).