[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20121025175547.GT18814@opensource.wolfsonmicro.com>
Date: Thu, 25 Oct 2012 18:55:48 +0100
From: Mark Brown <broonie@...nsource.wolfsonmicro.com>
To: Fabio Estevam <fabio.estevam@...escale.com>
Cc: gregkh@...uxfoundation.org, linux-kernel@...r.kernel.org,
festevam@...il.com
Subject: Re: [PATCH] regmap: Fix printing of size_t variable
On Thu, Oct 25, 2012 at 02:07:18PM -0200, Fabio Estevam wrote:
> val_bytes is of 'size_t', so it should be printed as '%zu'.
>
> Fixes the following build warning on x86:
>
> drivers/base/regmap/regmap.c:872:4: warning: format '%d' expects argument of type 'int', but argument 5 has type 'size_t' [-Wformat]
>
> Signed-off-by: Fabio Estevam <fabio.estevam@...escale.com>
Applied, thanks.
Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)
Powered by blists - more mailing lists