提交 a5f30eba 编写于 作者: H Hans Wennborg 提交者: Rafael J. Wysocki

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: NHans Wennborg <hans@hanshq.net>
Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
上级 3c5445ce
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册