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

2012-10-27 Thread Mark Brown
On Thu, Oct 25, 2012 at 03:52:32PM -0700, Randy Dunlap wrote: > Acked-by: Randy Dunlap There's not much point in doing this after a patch has been applied... > http://marc.info/?l=linux-kernel=135041943424273=2 So, the difference between Fabio's patch and your patch is that he sent the patch

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

2012-10-27 Thread Mark Brown
On Thu, Oct 25, 2012 at 03:52:32PM -0700, Randy Dunlap wrote: Acked-by: Randy Dunlap rdun...@xenotime.net There's not much point in doing this after a patch has been applied... http://marc.info/?l=linux-kernelm=135041943424273w=2 So, the difference between Fabio's patch and your patch is

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

2012-10-25 Thread Randy Dunlap
On 10/25/2012 09:07 AM, 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] >

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

2012-10-25 Thread Mark Brown
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

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

2012-10-25 Thread Mark Brown
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'

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

2012-10-25 Thread Randy Dunlap
On 10/25/2012 09:07 AM, 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]