[PATCH 1/1] cmd: undefined return value of do_extension_apply()

Tom Rini trini at konsulko.com
Thu Aug 4 22:52:32 CEST 2022


On Mon, Jul 11, 2022 at 08:01:12PM +0200, Heinrich Schuchardt wrote:

> If 'extension apply all' is executed and no extension is found, the return
> value of do_extension_apply() is undefined. Return CMD_RET_FAILURE in this
> case.
> 
> Fixes: 2f84e9cf06d3 ("cmd: add support for a new "extension" command")
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
> Reviewed-by: Kory Maincent <kory.maincent at bootlin.com>

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/20220804/9a271f37/attachment.sig>


More information about the U-Boot mailing list