[RFC PATCH v1 02/30] [DONOTMERGE] Temporarily disable unused variable warning
Fuad Tabba
tabba at google.com
Fri Sep 24 05:53:31 PDT 2021
Later patches add variables and functions that won't be used
immediately. Disable the warnings until the variables are used.
Signed-off-by: Fuad Tabba <tabba at google.com>
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index ed669b2d705d..0278bd28bd97 100644
--- a/Makefile
+++ b/Makefile
@@ -504,7 +504,7 @@ KBUILD_CFLAGS := -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs \
-fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE \
-Werror=implicit-function-declaration -Werror=implicit-int \
-Werror=return-type -Wno-format-security \
- -std=gnu89
+ -std=gnu89 -Wno-unused-variable -Wno-unused-function
KBUILD_CPPFLAGS := -D__KERNEL__
KBUILD_AFLAGS_KERNEL :=
KBUILD_CFLAGS_KERNEL :=
--
2.33.0.685.g46640cef36-goog
More information about the linux-arm-kernel
mailing list