diff options
author | Dhananjay Ugwekar <[email protected]> | 2024-07-02 08:14:13 +0000 |
---|---|---|
committer | Mario Limonciello <[email protected]> | 2024-07-07 10:32:31 -0500 |
commit | f21ab5ed4e8758b06230900f44b9dcbcfdc0c3ae (patch) | |
tree | 927c266e762a43111209bca13cefe5cc9ae1b9e3 /lib/memory-notifier-error-inject.c | |
parent | 6d588891a90c5a946aaac11a93d06edd89ed9054 (diff) |
cpufreq/amd-pstate-ut: Convert nominal_freq to khz during comparisons
cpudata->nominal_freq being in MHz whereas other frequencies being in
KHz breaks the amd-pstate-ut frequency sanity check. This fixes it.
Fixes: e4731baaf294 ("cpufreq: amd-pstate: Fix the inconsistency in max frequency units")
Reported-by: David Arcari <[email protected]>
Signed-off-by: Dhananjay Ugwekar <[email protected]>
Reviewed-by: Mario Limonciello <[email protected]>
Reviewed-by: Gautham R. Shenoy <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mario Limonciello <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions