* [PATCH] test: print_ut: Fix potential build error
@ 2021-02-17 9:31 Bin Meng
2021-02-18 4:45 ` Simon Glass
2021-03-16 5:58 ` Simon Glass
0 siblings, 2 replies; 3+ messages in thread
From: Bin Meng @ 2021-02-17 9:31 UTC (permalink / raw)
To: u-boot
This files uses the macro U_BOOT_CMD which is defined in command.h,
but command.h is conditionally included. Fix it.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
---
test/print_ut.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/print_ut.c b/test/print_ut.c
index a456a44..61ea432 100644
--- a/test/print_ut.c
+++ b/test/print_ut.c
@@ -6,8 +6,8 @@
#define DEBUG
#include <common.h>
-#if CONFIG_IS_ENABLED(EFI_LOADER) && !defined(API_BUILD)
#include <command.h>
+#if CONFIG_IS_ENABLED(EFI_LOADER) && !defined(API_BUILD)
#include <efi_api.h>
#endif
#include <display_options.h>
--
2.7.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH] test: print_ut: Fix potential build error
2021-02-17 9:31 [PATCH] test: print_ut: Fix potential build error Bin Meng
@ 2021-02-18 4:45 ` Simon Glass
2021-03-16 5:58 ` Simon Glass
1 sibling, 0 replies; 3+ messages in thread
From: Simon Glass @ 2021-02-18 4:45 UTC (permalink / raw)
To: u-boot
kOn Wed, 17 Feb 2021 at 02:31, Bin Meng <bmeng.cn@gmail.com> wrote:
>
> This files uses the macro U_BOOT_CMD which is defined in command.h,
> but command.h is conditionally included. Fix it.
>
> Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
> ---
>
> test/print_ut.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Simon Glass <sjg@chromium.org>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] test: print_ut: Fix potential build error
2021-02-17 9:31 [PATCH] test: print_ut: Fix potential build error Bin Meng
2021-02-18 4:45 ` Simon Glass
@ 2021-03-16 5:58 ` Simon Glass
1 sibling, 0 replies; 3+ messages in thread
From: Simon Glass @ 2021-03-16 5:58 UTC (permalink / raw)
To: u-boot
kOn Wed, 17 Feb 2021 at 02:31, Bin Meng <bmeng.cn@gmail.com> wrote:
>
> This files uses the macro U_BOOT_CMD which is defined in command.h,
> but command.h is conditionally included. Fix it.
>
> Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
> ---
>
> test/print_ut.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Simon Glass <sjg@chromium.org>
Applied to u-boot-dm/next, thanks!
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-03-16 5:58 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-17 9:31 [PATCH] test: print_ut: Fix potential build error Bin Meng
2021-02-18 4:45 ` Simon Glass
2021-03-16 5:58 ` Simon Glass
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.