[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <51CC37BF.8030309@monstr.eu>
Date: Thu, 27 Jun 2013 15:01:51 +0200
From: Michal Simek <monstr@...str.eu>
To: Vincent Stehlé <vincent.stehle@...escale.com>
CC: linux-next@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, Robin Holt <holt@....com>,
Michal Simek <michal.simek@...inx.com>,
Russell King <linux@....linux.org.uk>, trivial@...nel.org,
Arnd Bergmann <arnd@...db.de>, holt@....com
Subject: Re: [PATCH linux-next] arm: zynq: fix compilation warning
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@...escale.com>
> Cc: Robin Holt <holt@....com>
> Cc: Michal Simek <michal.simek@...inx.com>
> Cc: Russell King <linux@....linux.org.uk>
> Cc: trivial@...nel.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
Download attachment "signature.asc" of type "application/pgp-signature" (264 bytes)
Powered by blists - more mailing lists