[PATCH v2 23/28] fs/squashfs: sqfs_probe: reset cur_dev/cur_part_info to NULL on error

Tom Rini trini at konsulko.com
Fri Nov 20 02:38:21 CET 2020


On Tue, Nov 03, 2020 at 12:11:21PM +0100, Richard Genoud wrote:

> Resetting the context on error will prevent some checks like:
> if (!ctx.cur_dev)
> To pass when the probe method has failed
> 
> Signed-off-by: Richard Genoud <richard.genoud at posteo.net>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20201119/fb0dc921/attachment.sig>


More information about the U-Boot mailing list