aboutsummaryrefslogtreecommitdiff
path: root/lib/glob.c
diff options
context:
space:
mode:
authorAnastasia Belova <abelova@astralinux.ru>2024-08-26 16:38:41 +0300
committerViresh Kumar <viresh.kumar@linaro.org>2024-09-04 20:43:59 +0530
commit5493f9714e4cdaf0ee7cec15899a231400cb1a9f (patch)
tree8e9afc014bcbbf61c25be301836a5ea2ca0b213d /lib/glob.c
parentb14ceb82c3a1b6f1422af4ea7a2a686dbaf0a094 (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 'lib/glob.c')
0 files changed, 0 insertions, 0 deletions