[PATCH] fs: semihosting: Use correct variable for error check
    Tom Rini 
    trini at konsulko.com
       
    Sat Oct 18 16:07:30 CEST 2025
    
    
  
On Thu, 02 Oct 2025 10:39:58 +0100, Andrew Goodbody wrote:
> After calling a function that can return an error, the test to detect
> that error should use the return value not a different variable. Fix it.
> 
> This issue was found by Smatch.
> 
> 
Applied to u-boot/master, thanks!
[1/1] fs: semihosting: Use correct variable for error check
      commit: a58089ad2e41e88f81360f0e99bfd0715aceb556
-- 
Tom
    
    
More information about the U-Boot
mailing list