[PATCH] spi: ich: Do not use uninitialised value
    Tom Rini 
    trini at konsulko.com
       
    Tue Oct 28 18:59:10 CET 2025
    
    
  
On Tue, 12 Aug 2025 14:31:16 +0100, Andrew Goodbody wrote:
> In ich_spi_exec_op_swseq the variable with_address is only assigned a
> value in the case of op->addr.nbytes being non-zero.
> Initialise with_address to zero. so that it is always valid.
> 
> This issue was found by Smatch.
> 
> 
> [...]
Applied to u-boot/master, thanks!
[1/1] spi: ich: Do not use uninitialised value
      commit: c01280b62c44e2a6be57440939f1912e60a7d5ec
-- 
Tom
    
    
More information about the U-Boot
mailing list