[PATCH] fs/squashfs: Set ret to 0 on successful read

Tom Rini trini at konsulko.com
Fri Apr 24 20:50:51 CEST 2026


On Mon, 20 Apr 2026 18:35:31 +0200, Michael Zimmermann wrote:

> It might still be a positive number due to the call to sqfs_disk_read.
> This only happens when reading a file from an uncompressed squashfs.
> 
> I found this by trying to boot using the extlinux bootmethod, where
> positive values are treated as errors.
> 
> 
> [...]

Applied to u-boot/master, thanks!

[1/1] fs/squashfs: Set ret to 0 on successful read
      commit: 30885b01aaa4bcdfa3fee9ca3066d3af563e6688
-- 
Tom




More information about the U-Boot mailing list