[PATCH] mfd: atmel-smc: Ensure match is initialised
Eugen Hristev
eugen.hristev at linaro.org
Wed Aug 13 10:02:42 CEST 2025
On 7/28/25 19:12, Andrew Goodbody wrote:
> If the test in the for loop is never matched then the variable 'match'
> will never be assigned to. Provide an initial value so this cannot be a
> problem.
>
> This issue was found by Smatch.
>
> Signed-off-by: Andrew Goodbody <andrew.goodbody at linaro.org>
> ---
Applied to u-boot-at91/master, thanks !
More information about the U-Boot
mailing list