diff options
| author | Xueqin Luo <luoxueqin@kylinos.cn> | 2026-08-31 17:11:59 +0800 |
|---|---|---|
| committer | Viresh Kumar <viresh.kumar@linaro.org> | 2026-10-05 09:26:03 +0530 |
| commit | fdbe4cae71c8196cd7681ad47254b5b0560d3c1e (patch) | |
| tree | 95cf6f3d45c9c43bba443e93d740b4fd2c922eaf /tools/perf/scripts/python | |
| parent | f0a750dad7da1c653e85f0698063235453b43831 (diff) | |
cpufreq: sti: avoid NULL dereference in dev_err()
ddata.cpu is NULL-checked, then immediately passed to dev_err().
Replace with pr_err() to avoid dereferencing NULL.
Fixes: ab0ea257fc58 ("cpufreq: st: Provide runtime initialised driver for ST's platforms")
Signed-off-by: Xueqin Luo <luoxueqin@kylinos.cn>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
