[PATCH v2] misc: fs_loader: Initialize actread variable

Tom Rini trini at konsulko.com
Tue Sep 9 20:31:35 CEST 2025


On Sun, 17 Aug 2025 19:55:02 -0700, alif.zakuan.yuslaimi at altera.com wrote:

> Initialize the actread variable to prevent undefined behavior
> that can occur if the variable is used before being assigned a
> value.
> 
> This will help to prevent potential issues, especially if
> actread is used (e.g., read, incremented, or returned) before
> being explicitly set elsewhere in the code.
> 
> [...]

Applied to u-boot/next, thanks!

[1/1] misc: fs_loader: Initialize actread variable
      commit: a3f0a8e7a1be4843363967e63d8e5c7b725ce2fc
-- 
Tom




More information about the U-Boot mailing list