cpufreq: speedstep-smi: fix decimal printf specifiers

The prefix suggests the number should be printed in hex, so use
the %x specifier to do that. Also, these are 32-bit values,
so drop the l characters.

Signed-off-by: Hans Wennborg <hans@hanshq.net>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
Hans Wennborg 2014-08-06 22:52:23 -07:00 committed by Rafael J. Wysocki
parent 3c5445ce3a
commit a5f30eba78

View File

@ -324,8 +324,8 @@ static int __init speedstep_init(void)
return -ENODEV; return -ENODEV;
} }
pr_debug("signature:0x%.8ulx, command:0x%.8ulx, " pr_debug("signature:0x%.8x, command:0x%.8x, "
"event:0x%.8ulx, perf_level:0x%.8ulx.\n", "event:0x%.8x, perf_level:0x%.8x.\n",
ist_info.signature, ist_info.command, ist_info.signature, ist_info.command,
ist_info.event, ist_info.perf_level); ist_info.event, ist_info.perf_level);