Skip to content

Commit

Permalink
cpufreq: speedstep-smi: fix decimal printf specifiers
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Hans Wennborg authored and Rafael J. Wysocki committed Aug 7, 2014
1 parent 3c5445c commit a5f30eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/cpufreq/speedstep-smi.c
Original file line number Diff line number Diff line change
Expand Up @@ -324,8 +324,8 @@ static int __init speedstep_init(void)
return -ENODEV;
}

pr_debug("signature:0x%.8ulx, command:0x%.8ulx, "
"event:0x%.8ulx, perf_level:0x%.8ulx.\n",
pr_debug("signature:0x%.8x, command:0x%.8x, "
"event:0x%.8x, perf_level:0x%.8x.\n",
ist_info.signature, ist_info.command,
ist_info.event, ist_info.perf_level);

Expand Down

0 comments on commit a5f30eb

Please sign in to comment.