提交 d91758f5 编写于 作者: T Thomas Renninger 提交者: Len Brown

acpi-cpufreq: style-only: add parens to math expression

Signed-off-by: NThomas Renninger <trenn@suse.de>
Signed-off-by: NLen Brown <len.brown@intel.com>
上级 e0e8c4e5
......@@ -340,7 +340,7 @@ static unsigned int get_measured_perf(struct cpufreq_policy *policy,
#endif
retval = per_cpu(drv_data, policy->cpu)->max_freq * perf_percent / 100;
retval = (per_cpu(drv_data, policy->cpu)->max_freq * perf_percent) / 100;
return retval;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册