Newly added static_assert() is formally a declaration, which will give a warning if used in the middle of the function.
Signed-off-by: Alexey Dobriyan <[email protected]> --- Makefile | 3 --- 1 file changed, 3 deletions(-) --- a/Makefile +++ b/Makefile @@ -792,9 +792,6 @@ endif # arch Makefile may override CC so keep this after arch Makefile is included NOSTDINC_FLAGS += -nostdinc -isystem $(shell $(CC) -print-file-name=include) -# warn about C99 declaration after statement -KBUILD_CFLAGS += -Wdeclaration-after-statement - # Variable Length Arrays (VLAs) should not be used anywhere in the kernel KBUILD_CFLAGS += $(call cc-option,-Wvla)

