[PATCH v1 1/2] image: Fix typo in boot_get_kbd()
Simon Glass
sjg at chromium.org
Sat Nov 6 04:16:25 CET 2021
On Fri, 5 Nov 2021 at 14:10, Andy Shevchenko
<andriy.shevchenko at linux.intel.com> wrote:
>
> After the commit 4ed37abc49c2 ("image: Remove ifdefs around
> image_setup_linux() el at"):
>
> common/image-board.c: In function ‘boot_get_kbd’:
> common/image-board.c:902:17: error: expected ‘)’ before ‘do_bdinfo’
> 902 | do_bdinfo(NULL, 0, 0, NULL);
> | ^~~~~~~~~
> common/image-board.c:901:12: note: to match this ‘(’
> 901 | if (IS_ENABLED(CONFIG_CMD_BDI)
> | ^
> common/image-board.c:906:1: error: expected expression before ‘}’ token
> 906 | }
> | ^
> common/image-board.c:906:1: warning: control reaches end of non-void function [-Wreturn-type]
> 906 | }
> | ^
>
> Fix obvious typo.
>
> Fixes: 4ed37abc49c2 ("image: Remove ifdefs around image_setup_linux() el at")
> Signed-off-by: Andy Shevchenko <andriy.shevchenko at linux.intel.com>
>
> Revert "image: Partially revert too aggressive ifdeferry removal"
>
> This reverts commit 84631af9d0454ff8252c1aebb1e9c232b8077692.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko at linux.intel.com>
> ---
> common/image-board.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list