aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorManivannan Sadhasivam <[email protected]>2023-02-14 09:41:15 +0000
committerRafael J. Wysocki <[email protected]>2023-02-14 14:06:10 +0000
commit6f098cde9df2c86d60db727d6270272751943674 (patch)
tree2e67bbe3be418b11b01bb1224b403e4e99e2ee0f /tools/perf/scripts/python/syscall-counts.py
parentLinux 6.2-rc8 (diff)
downloadkernel-6f098cde9df2c86d60db727d6270272751943674.tar.gz
kernel-6f098cde9df2c86d60db727d6270272751943674.zip
cpufreq: qcom-hw: Add missing null pointer check
of_device_get_match_data() may return NULL, so add a check to prevent potential null pointer dereference. Issue reported by Qualcomm's internal static analysis tool. Fixes: 4f7961706c63 ("cpufreq: qcom-hw: Move soc_data to struct qcom_cpufreq") Signed-off-by: Manivannan Sadhasivam <[email protected]> Acked-by: Viresh Kumar <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions