diff options
| author | 2024-08-26 16:38:41 +0300 | |
|---|---|---|
| committer | 2024-09-04 20:43:59 +0530 | |
| commit | 5493f9714e4cdaf0ee7cec15899a231400cb1a9f (patch) | |
| tree | 8e9afc014bcbbf61c25be301836a5ea2ca0b213d /scripts/basic/git:/ssh: | |
| parent | cpufreq: Add SM7325 to cpufreq-dt-platdev blocklist (diff) | |
cpufreq: amd-pstate: add check for cpufreq_cpu_get's return value
cpufreq_cpu_get may return NULL. To avoid NULL-dereference check it
and return in case of error.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Signed-off-by: Anastasia Belova <abelova@astralinux.ru>
Reviewed-by: Perry Yuan <perry.yuan@amd.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'scripts/basic/git:/ssh:')
0 files changed, 0 insertions, 0 deletions
