Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753930Ab3F0NCE (ORCPT ); Thu, 27 Jun 2013 09:02:04 -0400 Received: from mail-bk0-f42.google.com ([209.85.214.42]:50307 "EHLO mail-bk0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753578Ab3F0NB7 (ORCPT ); Thu, 27 Jun 2013 09:01:59 -0400 Message-ID: <51CC37BF.8030309@monstr.eu> Date: Thu, 27 Jun 2013 15:01:51 +0200 From: Michal Simek Reply-To: monstr@monstr.eu User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130330 Thunderbird/17.0.5 MIME-Version: 1.0 To: =?UTF-8?B?VmluY2VudCBTdGVobMOp?= CC: linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Robin Holt , Michal Simek , Russell King , trivial@kernel.org, Arnd Bergmann , holt@sgi.com Subject: Re: [PATCH linux-next] arm: zynq: fix compilation warning References: <1372336962-6459-1-git-send-email-vincent.stehle@freescale.com> In-Reply-To: <1372336962-6459-1-git-send-email-vincent.stehle@freescale.com> X-Enigmail-Version: 1.5.1 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="----enig2STBNAGOUBSRUVMTIETRM" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2724 Lines: 92 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2STBNAGOUBSRUVMTIETRM Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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=C3=A9 wrote: > Fix the following compilation warning: >=20 > arch/arm/mach-zynq/common.c:110:2: warning: initialization from incom= patible pointer type [enabled by default] > arch/arm/mach-zynq/common.c:110:2: warning: (near initialization for = =E2=80=98__mach_desc_XILINX_EP107.restart=E2=80=99) [enabled by default] >=20 > Signed-off-by: Vincent Stehl=C3=A9 > Cc: Robin Holt > Cc: Michal Simek > Cc: Russell King > Cc: trivial@kernel.org > --- >=20 >=20 > Hi, >=20 > This warning was seen on linux-next tag next-20130627, with config ARM > multi_v7_defconfig. >=20 > Best regards, >=20 > V. >=20 >=20 > arch/arm/mach-zynq/common.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > 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(); > } > =20 > -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(); > } >=20 --=20 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 ------enig2STBNAGOUBSRUVMTIETRM Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlHMN78ACgkQykllyylKDCFOOgCeId/zVK/yXVupdorfCD5eEVxZ PrYAn2t5blG6GhNrSwchF8UCoRnQki3W =2zqQ -----END PGP SIGNATURE----- ------enig2STBNAGOUBSRUVMTIETRM-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/