[PATCH] cmd: mtd: Prevent use of uninitialised variable

Tom Rini trini at konsulko.com
Wed Oct 29 00:57:27 CET 2025


On Thu, 26 Jun 2025 11:49:32 +0100, Andrew Goodbody wrote:

> ret maybe used uninitialised in some cases so instead
> initialise it first to prevent this.
> 
> This issue was found by Smatch.
> 
> 

Applied to u-boot/master, thanks!

[1/1] cmd: mtd: Prevent use of uninitialised variable
      commit: ce1bdedd2f4b3c5c8c76fbf2fc1a234fca470573
-- 
Tom




More information about the U-Boot mailing list