Re: [PATCH 02/15] cpufreq: fix decimal printf format specifiers prefixed with 0x

2014-08-06 Thread Hans Wennborg
On 08/06/2014 01:35 PM, Rafael J. Wysocki wrote: On Tuesday, August 05, 2014 09:41:48 PM Hans Wennborg wrote: The prefix suggests the number should be printed in hex, so use the %x specifier to do that. Found by using regex suggested by Joe Perches. Signed-off-by: Hans Wennborg This trigger

Re: [PATCH 02/15] cpufreq: fix decimal printf format specifiers prefixed with 0x

2014-08-06 Thread Rafael J. Wysocki
On Tuesday, August 05, 2014 09:41:48 PM Hans Wennborg wrote: > The prefix suggests the number should be printed in hex, so use > the %x specifier to do that. > > Found by using regex suggested by Joe Perches. > > Signed-off-by: Hans Wennborg This triggers a build warning related to the formats.

[PATCH 02/15] cpufreq: fix decimal printf format specifiers prefixed with 0x

2014-08-05 Thread Hans Wennborg
The prefix suggests the number should be printed in hex, so use the %x specifier to do that. Found by using regex suggested by Joe Perches. Signed-off-by: Hans Wennborg --- drivers/cpufreq/speedstep-smi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/cpufreq/sp