]> git.ipfire.org Git - thirdparty/u-boot.git/commit
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)
commitbf09c6abfc834f6c6df3c86fe40f36be1e209eb7
treefdce2bb6978a5bb2ad69dd6484798f4101970071
parent6e382d8fc5ee6876ade500222cb0ade9cdc597ed
parent2a13b59ed4317ec4483d1502d9db161f46985a32
Merge patch series "clk: versaclock: Fix two issues found by Smatch"

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