From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Thu, 19 Nov 2020 20:38:21 -0500 Subject: [PATCH v2 23/28] fs/squashfs: sqfs_probe: reset cur_dev/cur_part_info to NULL on error In-Reply-To: <20201103111126.23600-24-richard.genoud@posteo.net> References: <20201103111126.23600-1-richard.genoud@posteo.net> <20201103111126.23600-24-richard.genoud@posteo.net> Message-ID: <20201120013821.GI32272@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 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: