It's normal for functions like fastboot_tx_print to take an early string
to indicate that no particular message should be reported to the host.

This would be warned about once we use the printf attribute, so let's
disable the check for barebox.

Signed-off-by: Ahmad Fatoum <a.fat...@pengutronix.de>
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index c733a76604e7..031d5bdd3e20 100644
--- a/Makefile
+++ b/Makefile
@@ -492,7 +492,7 @@ KBUILD_CPPFLAGS        := -D__KERNEL__ -D__BAREBOX__ 
$(LINUXINCLUDE) \
 KBUILD_CFLAGS   := -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs \
                   -fno-strict-aliasing -fno-common -fshort-wchar 
-funsigned-char \
                   -Werror=implicit-function-declaration -Werror=implicit-int \
-                  -Werror=int-conversion \
+                  -Werror=int-conversion -Wno-format-zero-length \
                   -Os -pipe -Wmissing-prototypes -std=gnu11
 KBUILD_AFLAGS          := -D__ASSEMBLY__
 KBUILD_AFLAGS_KERNEL :=
-- 
2.39.5


Reply via email to