aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorAnastasia Belova <[email protected]>2024-08-26 16:38:41 +0300
committerViresh Kumar <[email protected]>2024-09-04 20:43:59 +0530
commit5493f9714e4cdaf0ee7cec15899a231400cb1a9f (patch)
tree8e9afc014bcbbf61c25be301836a5ea2ca0b213d /tools/testing/selftests/bpf/prog_tests/autoload.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 <[email protected]> Reviewed-by: Perry Yuan <[email protected]> Signed-off-by: Viresh Kumar <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions