History

Merge branch 'kbuild-6.19.fms.extension'

Bring in the shared branch with the kbuild tree to enable '-fms-extensions' for 6.19. Further namespace cleanup work requires this extension.

Christian Brauner committed 1 year ago

Commit a67ee4e2 parents ae901e5 3c60b0b269 files · +2610 −1565Browse files

Showing the changes to scripts (1 of 269 files). Show all

Unified · Split

scripts/Makefile.extrawarn+3−1
@@ -28,8 +28,10 @@ endif · 27 unmodified lines
28KBUILD_CFLAGS-$(CONFIG_CC_NO_ARRAY_BOUNDS) += -Wno-array-bounds28KBUILD_CFLAGS-$(CONFIG_CC_NO_ARRAY_BOUNDS) += -Wno-array-bounds
29 29
30ifdef CONFIG_CC_IS_CLANG30ifdef CONFIG_CC_IS_CLANG
31# The kernel builds with '-std=gnu11' so use of GNU extensions is acceptable.31# The kernel builds with '-std=gnu11' and '-fms-extensions' so use of GNU and
32# Microsoft extensions is acceptable.
32KBUILD_CFLAGS += -Wno-gnu33KBUILD_CFLAGS += -Wno-gnu
34KBUILD_CFLAGS += -Wno-microsoft-anon-tag
33 35
34# Clang checks for overflow/truncation with '%p', while GCC does not:36# Clang checks for overflow/truncation with '%p', while GCC does not:
35# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=11121937# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111219