aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorWan Jiabing <[email protected]>2022-04-26 19:17:14 +0800
committerViresh Kumar <[email protected]>2022-04-27 08:51:14 +0530
commita3b8d1b12c6bc3655332f19af84d0780ba88a578 (patch)
treebffa7d974dca12bfc087315f51ee18546e3ed22e /tools/perf/scripts/python/mem-phys-addr.py
parentffa7bdf7f344477ad817504c87d8d2db5316a8b6 (diff)
cpufreq: mediatek: Fix NULL pointer dereference in mediatek-cpufreq
Fix following coccicheck error: drivers/cpufreq/mediatek-cpufreq.c:464:16-23: ERROR: info is NULL but dereferenced. Use pr_err instead of dev_err to avoid dereferring a NULL pointer. Fixes: f52b16ba9fe4 ("cpufreq: mediatek: Use device print to show logs") Signed-off-by: Wan Jiabing <[email protected]> Reviewed-by: Matthias Brugger <[email protected]> Signed-off-by: Viresh Kumar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions