diff options
| author | Manivannan Sadhasivam <[email protected]> | 2023-02-14 09:41:15 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2023-02-14 14:06:10 +0000 |
| commit | 6f098cde9df2c86d60db727d6270272751943674 (patch) | |
| tree | 2e67bbe3be418b11b01bb1224b403e4e99e2ee0f /tools/perf/scripts/python/syscall-counts.py | |
| parent | Linux 6.2-rc8 (diff) | |
| download | kernel-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
