]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
Merge patch series "clk: versaclock: Fix two issues found by Smatch"
authorTom Rini <trini@konsulko.com>
Tue, 28 Oct 2025 15:59:55 +0000 (09:59 -0600)
committerTom Rini <trini@konsulko.com>
Tue, 28 Oct 2025 16:32:59 +0000 (10:32 -0600)
Andrew Goodbody <andrew.goodbody@linaro.org> says:

Should return value calculated by ERR_PTR as calling code attempts to
check for it.
Also do not dereference a pointer that could be an error pointer before
checking it with IS_ERR.

Link: https://lore.kernel.org/r/20250723-clk_versaclock-v1-0-9d70f2530871@linaro.org

Trivial merge