mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-01 07:46:46 +07:00
acpi-cpufreq: style-only: add parens to math expression
Signed-off-by: Thomas Renninger <trenn@suse.de> Signed-off-by: Len Brown <len.brown@intel.com>
This commit is contained in:
parent
e0e8c4e512
commit
d91758f5dd
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user