aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq/speedstep-smi.c
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2014-08-07 01:52:23 -0400
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-08-07 15:21:52 -0400
commita5f30eba78969624ed8e86db81a8dd91736f79f3 (patch)
tree4bfe0a5a67196049f9346e6b43a17b93d344068d /drivers/cpufreq/speedstep-smi.c
parent3c5445ce3a0c6d6935911212b735772af5115517 (diff)
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>
Diffstat (limited to 'drivers/cpufreq/speedstep-smi.c')
-rw-r--r--drivers/cpufreq/speedstep-smi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/cpufreq/speedstep-smi.c b/drivers/cpufreq/speedstep-smi.c
index 8635eec96da5..5fc96d5d656b 100644
--- a/drivers/cpufreq/speedstep-smi.c
+++ b/drivers/cpufreq/speedstep-smi.c
@@ -324,8 +324,8 @@ static int __init speedstep_init(void)
324 return -ENODEV; 324 return -ENODEV;
325 } 325 }
326 326
327 pr_debug("signature:0x%.8ulx, command:0x%.8ulx, " 327 pr_debug("signature:0x%.8x, command:0x%.8x, "
328 "event:0x%.8ulx, perf_level:0x%.8ulx.\n", 328 "event:0x%.8x, perf_level:0x%.8x.\n",
329 ist_info.signature, ist_info.command, 329 ist_info.signature, ist_info.command,
330 ist_info.event, ist_info.perf_level); 330 ist_info.event, ist_info.perf_level);
331 331