diff options
author | 2023-02-14 15:11:15 +0530 | |
---|---|---|
committer | 2023-02-14 15:06:10 +0100 | |
commit | 6f098cde9df2c86d60db727d6270272751943674 (patch) | |
tree | 2e67bbe3be418b11b01bb1224b403e4e99e2ee0f /scripts/generate_rust_analyzer.py | |
parent | Linux 6.2-rc8 (diff) | |
download | linux-rng-6f098cde9df2c86d60db727d6270272751943674.tar.xz linux-rng-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 <manivannan.sadhasivam@linaro.org>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions