Re: [PATCH] regmap: Fix printing of size_t variable

From: Mark Brown
Date: Thu Oct 25 2012 - 13:55:47 EST


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@xxxxxxxxxxxxx>

Applied, thanks.

Attachment: signature.asc
Description: Digital signature