From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756850AbaHFTBD (ORCPT ); Wed, 6 Aug 2014 15:01:03 -0400 Received: from sauhun.de ([89.238.76.85]:56533 "EHLO pokefinder.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755093AbaHFTBA (ORCPT ); Wed, 6 Aug 2014 15:01:00 -0400 Date: Wed, 6 Aug 2014 21:00:55 +0200 From: Wolfram Sang To: Xiubo Li Cc: linux-i2c@vger.kernel.org, joe@perches.com, s.hauer@pengutronix.de, jg1.han@samsung.com, u.kleine-koenig@pengutronix.de, linux-kernel@vger.kernel.org, b35083@freescale.com Subject: Re: [PATCHv2] i2c: i2c-imx: Fix format warning for dev_dbg Message-ID: <20140806190055.GB2736@katana> References: <1407296708-12563-1-git-send-email-Li.Xiubo@freescale.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="QTprm0S8XgL7H0Dt" Content-Disposition: inline In-Reply-To: <1407296708-12563-1-git-send-email-Li.Xiubo@freescale.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --QTprm0S8XgL7H0Dt Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Aug 06, 2014 at 11:45:08AM +0800, Xiubo Li wrote: > drivers/i2c/busses/i2c-imx.c: In function i2c_imx_probe() > drivers/i2c/busses/i2c-imx.c:689:2: warning: format 0x%x expects argument > of type unsigned int, but argument 4 has type resource_size_t [-Wformat= =3D] > dev_dbg(&i2c_imx->adapter.dev, "device resources from 0x%x to 0x%x\n", > ^ > drivers/i2c/busses/i2c-imx.c:689:2: warning: format 0x%x expects argument > of type unsigned int, but argument 5 has type resource_size_t [-Wformat= =3D] >=20 > drivers/i2c/busses/i2c-imx.c:691:2: warning: format %d expects argument > of type int, but argument 4 has type resource_size_t [-Wformat=3D] > dev_dbg(&i2c_imx->adapter.dev, "allocated %d bytes at 0x%x\n", > ^ > drivers/i2c/busses/i2c-imx.c:691:2: warning: format 0x%x expects argument > of type unsigned int, but argument 5 has type resource_size_t [-Wformat= =3D] >=20 > Signed-off-by: Xiubo Li Applied to for-next, thanks! --QTprm0S8XgL7H0Dt Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJT4ntnAAoJEBQN5MwUoCm23wkQAJErVwJNW/t1+Yar1qmkhh78 SEsqGSdnz9nsmxEjfqDhhN9rtvSGQnbd2ZeGbvbMK0UYf+KtMrMf9KlmPZYzMcVA GwUNDDGHjNGQ6aFzeRMDEzJ/qgLCU/Xz2JEvdcLeXD/2TXA06LXpz/HbzUuGOGkA rO1U7GY7IPvd3D/BMBU1lkKarGWcHwU/oFGIJ5AvdHJg8PC6bZqrleG6Oqbz0F2f xny3q4Onog8esSWXj+JrYKUMiImWMYqbtl3vsOFWXJl/xghkuuKDgDHl7CtBa2Bg 8J2/jmEodfsZoSs0VINCqdyj0KYp9FaEvZn7FjKBCMYqdB7aRt52jnLx7bQSMYHf Al4ZDqLL+I5urd/WCJzP+P5+tOUwv8mbnrw+nYQjL8vn9mHEsfwQ+QXJLsc76i+G idQCx1YIAowINE2GTv06OlIPLlp+2vCuC7KJZRLdgfxz7w99LAjAdZCRGkotACHG GVi3D4EY9G+V1c9uzHD358FKjB3e5QGBef1VEgpBufX0GvhrMEijrSadC7pjz1Xi IsfCsnqAdzbcyXzRbcziiVUstbI07myc01RQh0oVnr8StKYe+kO9ovvbJVkh6IiI K7j55tAT/qOc9i8UIP7n0zB/V3VGv9QtFahLk2LJYde0mCRfbJY0aD7kUhlmS2kx ddUEAOVb+AqPX8HoBQ14 =JUOy -----END PGP SIGNATURE----- --QTprm0S8XgL7H0Dt--