[PATCH 0/2] clk: versaclock: Fix two issues found by Smatch

Tom Rini trini at konsulko.com
Tue Oct 28 18:59:05 CET 2025


On Wed, 23 Jul 2025 16:54:06 +0100, Andrew Goodbody wrote:

> 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.
> 
> 

Applied to u-boot/master, thanks!

[1/2] clk: versaclock: return value calculated by ERR_PTR
      commit: 6f48f6f2a2df05bd7663917b694a4d881998f6c5
[2/2] clk: versaclock: Use IS_ERR check before dereference
      commit: 2a13b59ed4317ec4483d1502d9db161f46985a32
-- 
Tom




More information about the U-Boot mailing list