From: Michal Simek <monstr@monstr.eu>
To: "Vincent Stehlé" <vincent.stehle@freescale.com>
Cc: linux-next@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, Robin Holt <holt@sgi.com>,
Michal Simek <michal.simek@xilinx.com>,
Russell King <linux@arm.linux.org.uk>,
trivial@kernel.org, Arnd Bergmann <arnd@arndb.de>holt@sgi.com
Subject: Re: [PATCH linux-next] arm: zynq: fix compilation warning
Date: Thu, 27 Jun 2013 15:01:51 +0200 [thread overview]
Message-ID: <51CC37BF.8030309@monstr.eu> (raw)
In-Reply-To: <1372336962-6459-1-git-send-email-vincent.stehle@freescale.com>
[-- 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 --]
WARNING: multiple messages have this Message-ID (diff)
From: monstr@monstr.eu (Michal Simek)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH linux-next] arm: zynq: fix compilation warning
Date: Thu, 27 Jun 2013 15:01:51 +0200 [thread overview]
Message-ID: <51CC37BF.8030309@monstr.eu> (raw)
In-Reply-To: <1372336962-6459-1-git-send-email-vincent.stehle@freescale.com>
Hi Vincent,
Arnd asked in this post
http://www.mail-archive.com/linux-kernel at 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 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-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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20130627/782ecca8/attachment.sig>
WARNING: multiple messages have this Message-ID (diff)
From: Michal Simek <monstr@monstr.eu>
To: "Vincent Stehlé" <vincent.stehle@freescale.com>
Cc: linux-next@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, Robin Holt <holt@sgi.com>,
Michal Simek <michal.simek@xilinx.com>,
Russell King <linux@arm.linux.org.uk>,
trivial@kernel.org, Arnd Bergmann <arnd@arndb.de>,
holt@sgi.com
Subject: Re: [PATCH linux-next] arm: zynq: fix compilation warning
Date: Thu, 27 Jun 2013 15:01:51 +0200 [thread overview]
Message-ID: <51CC37BF.8030309@monstr.eu> (raw)
In-Reply-To: <1372336962-6459-1-git-send-email-vincent.stehle@freescale.com>
[-- 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 --]
next prev parent reply other threads:[~2013-06-27 13:01 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-27 12:42 [PATCH linux-next] arm: zynq: fix compilation warning Vincent Stehlé
2013-06-27 12:42 ` Vincent Stehlé
2013-06-27 12:42 ` Vincent Stehlé
2013-06-27 13:01 ` Michal Simek [this message]
2013-06-27 13:01 ` Michal Simek
2013-06-27 13:01 ` Michal Simek
2013-06-28 0:38 ` Stephen Rothwell
2013-06-28 0:38 ` Stephen Rothwell
2013-07-23 18:03 ` Olof Johansson
2013-07-23 18:03 ` Olof Johansson
2013-07-23 18:03 ` Olof Johansson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=51CC37BF.8030309@monstr.eu \
--to=monstr@monstr.eu \
--cc=arnd@arndb.de \
--cc=holt@sgi.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-next@vger.kernel.org \
--cc=linux@arm.linux.org.uk \
--cc=michal.simek@xilinx.com \
--cc=trivial@kernel.org \
--cc=vincent.stehle@freescale.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.