]> git.dujemihanovic.xyz Git - u-boot.git/commit
cmd: undefined return value of do_extension_apply()
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Mon, 11 Jul 2022 18:01:12 +0000 (20:01 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 4 Aug 2022 17:59:59 +0000 (13:59 -0400)
commit689525b12e00881b88cc8f02c9c711ae9b2f6b5a
tree6bc6b29ce7fd0684e781fe1fd0faeec425cbb8c8
parentbf28d9a65999bcf60425e65a7daf0d539838a845
cmd: undefined return value of do_extension_apply()

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@canonical.com>
Reviewed-by: Kory Maincent <kory.maincent@bootlin.com>
cmd/extension_board.c