]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
cpufreq: Prefer to print cpuid in MIN/MAX QoS register error message
authorLiao Chang <liaochang1@huawei.com>
Tue, 15 Aug 2023 01:40:02 +0000 (09:40 +0800)
committerViresh Kumar <viresh.kumar@linaro.org>
Thu, 17 Aug 2023 08:42:11 +0000 (14:12 +0530)
commitba6ea77d0e75113b52fdae6e01473476cb48a83c
treedc72ae1ba53d38be20641ef036f5c49ca0cfcb7f
parentd3dec5bb61ce113cc84146bf4a72f752256d3767
cpufreq: Prefer to print cpuid in MIN/MAX QoS register error message

When a cpufreq_policy is allocated, the cpus, related_cpus and real_cpus
of policy are still unset. Therefore, it is preferable to print the
passed 'cpu' parameter instead of a empty 'cpus' cpumask in error
message when registering MIN/MAX QoS notifier fails.

Signed-off-by: Liao Chang <liaochang1@huawei.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/cpufreq/cpufreq.c