mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
cpufreq: scmi: process the result of devm_of_clk_add_hw_provider()
[ Upstream commitc4a5118a3a] 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:8410e7f3b3("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> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
04fc66dd2b
commit
71f47a52ba
1 changed files with 5 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue