[PATCH] spi: fspi: Logical or used instead of logical and
    Tom Rini 
    trini at konsulko.com
       
    Tue Oct 28 18:59:12 CET 2025
    
    
  
On Tue, 12 Aug 2025 17:42:59 +0100, Andrew Goodbody wrote:
> In erratum_err050568 the test for apllicability uses logical or to check
> multiple chip IDs but this means the test will always evaluate to true
> as at least 1 term will always be true. Logical and should have been
> used so that the expression evaluates to true if all terms are true
> which would mean that no chip ID of interest was in use.
> 
> This issue was found by Smatch.
> 
> [...]
Applied to u-boot/master, thanks!
[1/1] spi: fspi: Logical or used instead of logical and
      commit: 1e2de3ce615e5cd2bd89d6bd601ed3709059318b
-- 
Tom
    
    
More information about the U-Boot
mailing list