diff options
| author | Alexandra Diupina <adiupina@astralinux.ru> | 2023-12-05 18:12:20 +0300 |
|---|---|---|
| committer | Viresh Kumar <viresh.kumar@linaro.org> | 2023-12-06 11:40:11 +0530 |
| commit | c4a5118a3ae1eadc687d84eef9431f9e13eb015c (patch) | |
| tree | 590e747da22909e2bcb4dcad30a6969867c20c66 /scripts/gdb/linux/utils.py | |
| parent | 8f96e29aae31354191227ad476dc7f6147ef1d75 (diff) | |
cpufreq: scmi: process the result of devm_of_clk_add_hw_provider()
devm_of_clk_add_hw_provider() may return an errno, so
add a return value check
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Fixes: 8410e7f3b31e ("cpufreq: scmi: Fix OPP addition failure with a dummy clock provider")
Signed-off-by: Alexandra Diupina <adiupina@astralinux.ru>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions
