]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
Merge patch series "clk: Return value calculated by ERR_PTR"
authorTom Rini <trini@konsulko.com>
Fri, 5 Dec 2025 23:03:36 +0000 (17:03 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 5 Dec 2025 23:03:36 +0000 (17:03 -0600)
Andrew Goodbody <andrew.goodbody@linaro.org> says:

Smatch reported an error where a value calculated by ERR_PTR was not
used. Fixing this to return the generated value led to a test failure
which meant updating the sandbox clock code so that it would still cause
the tests to pass with the above correction.
Debugging this problem led to a SIGSEGV which is addressed in 1/3.
Possible memory leaks noticed are addressed in 3/3.

Link: https://lore.kernel.org/r/20251121-clk_uclass_fix-v2-0-74f4ea10e194@linaro.org
1  2 
drivers/clk/clk-uclass.c

Simple merge