PM / devfreq: memlat: Use the cpumask_pr_args macros

When using the %*pbl printk format a special macro is needed to decode
the cpu mask and format it correctly.

Fixes: 74b58a6 ("PM / devfreq: memlat: Aggregate memlat mons under a controller")
Change-Id: Ic0dedbada86cf9cec02b1a5292aaf05f50c0c42f
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
This commit is contained in:
Jordan Crouse 2019-12-11 14:36:02 -07:00
commit 655e48c303

View file

@ -607,7 +607,8 @@ static int memlat_mon_probe(struct platform_device *pdev, bool is_compute)
if (!cpumask_subset(&mon->cpus, &cpu_grp->cpus)) {
dev_err(dev,
"Mon CPUs must be a subset of cpu_grp CPUs. mon=%*pbl cpu_grp=%*pbl\n",
mon->cpus, cpu_grp->cpus);
cpumask_pr_args(&mon->cpus),
cpumask_pr_args(&cpu_grp->cpus));
ret = -EINVAL;
goto unlock_out;
}