Skip to content

Commit 7e40c21

Browse files
committed
Merge tag 'kbuild-fixes-v6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild
Pull Kbuild fixes from Masahiro Yamada: - Deduplicate Kconfig entries for CONFIG_CXL_PMU - Fix unselectable choice entry in MIPS Kconfig, and forbid this structure - Remove unused include/asm-generic/export.h - Fix a NULL pointer dereference bug in modpost - Enable -Woverride-init warning consistently with W=1 - Drop KCSAN flags from *.mod.c files * tag 'kbuild-fixes-v6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild: kconfig: Fix typo HEIGTH to HEIGHT Documentation/llvm: Note s390 LLVM=1 support with LLVM 18.1.0 and newer kbuild: Disable KCSAN for autogenerated *.mod.c intermediaries kbuild: make -Woverride-init warnings more consistent modpost: do not make find_tosym() return NULL export.h: remove include/asm-generic/export.h kconfig: do not reparent the menu inside a choice block MIPS: move unselectable FIT_IMAGE_FDT_EPM5 out of the "System type" choice cxl: remove CONFIG_CXL_PMU entry in drivers/cxl/Kconfig
2 parents 1873735 + 89e5462 commit 7e40c21

File tree

31 files changed

+66
-87
lines changed

31 files changed

+66
-87
lines changed

Documentation/kbuild/llvm.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ yet. Bug reports are always welcome at the issue tracker below!
178178
- ``LLVM=1``
179179
* - s390
180180
- Maintained
181-
- ``CC=clang``
181+
- ``LLVM=1`` (LLVM >= 18.1.0), ``CC=clang`` (LLVM < 18.1.0)
182182
* - um (User Mode)
183183
- Maintained
184184
- ``LLVM=1``

arch/mips/Kconfig

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -619,15 +619,6 @@ config MACH_EYEQ5
619619

620620
bool
621621

622-
config FIT_IMAGE_FDT_EPM5
623-
bool "Include FDT for Mobileye EyeQ5 development platforms"
624-
depends on MACH_EYEQ5
625-
default n
626-
help
627-
Enable this to include the FDT for the EyeQ5 development platforms
628-
from Mobileye in the FIT kernel image.
629-
This requires u-boot on the platform.
630-
631622
config MACH_NINTENDO64
632623
bool "Nintendo 64 console"
633624
select CEVT_R4K
@@ -1011,6 +1002,15 @@ config CAVIUM_OCTEON_SOC
10111002

10121003
endchoice
10131004

1005+
config FIT_IMAGE_FDT_EPM5
1006+
bool "Include FDT for Mobileye EyeQ5 development platforms"
1007+
depends on MACH_EYEQ5
1008+
default n
1009+
help
1010+
Enable this to include the FDT for the EyeQ5 development platforms
1011+
from Mobileye in the FIT kernel image.
1012+
This requires u-boot on the platform.
1013+
10141014
source "arch/mips/alchemy/Kconfig"
10151015
source "arch/mips/ath25/Kconfig"
10161016
source "arch/mips/ath79/Kconfig"

drivers/cxl/Kconfig

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -144,17 +144,4 @@ config CXL_REGION_INVALIDATION_TEST
144144
If unsure, or if this kernel is meant for production environments,
145145
say N.
146146

147-
config CXL_PMU
148-
tristate "CXL Performance Monitoring Unit"
149-
default CXL_BUS
150-
depends on PERF_EVENTS
151-
help
152-
Support performance monitoring as defined in CXL rev 3.0
153-
section 13.2: Performance Monitoring. CXL components may have
154-
one or more CXL Performance Monitoring Units (CPMUs).
155-
156-
Say 'y/m' to enable a driver that will attach to performance
157-
monitoring units and provide standard perf based interfaces.
158-
159-
If unsure say 'm'.
160147
endif

drivers/gpu/drm/amd/display/dc/dce110/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
# Makefile for the 'controller' sub-component of DAL.
2424
# It provides the control and status of HW CRTC block.
2525

26-
CFLAGS_$(AMDDALPATH)/dc/dce110/dce110_resource.o = $(call cc-disable-warning, override-init)
26+
CFLAGS_$(AMDDALPATH)/dc/dce110/dce110_resource.o = -Wno-override-init
2727

2828
DCE110 = dce110_timing_generator.o \
2929
dce110_compressor.o dce110_opp_regamma_v.o \

drivers/gpu/drm/amd/display/dc/dce112/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
# Makefile for the 'controller' sub-component of DAL.
2424
# It provides the control and status of HW CRTC block.
2525

26-
CFLAGS_$(AMDDALPATH)/dc/dce112/dce112_resource.o = $(call cc-disable-warning, override-init)
26+
CFLAGS_$(AMDDALPATH)/dc/dce112/dce112_resource.o = -Wno-override-init
2727

2828
DCE112 = dce112_compressor.o
2929

drivers/gpu/drm/amd/display/dc/dce120/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
# It provides the control and status of HW CRTC block.
2525

2626

27-
CFLAGS_$(AMDDALPATH)/dc/dce120/dce120_resource.o = $(call cc-disable-warning, override-init)
27+
CFLAGS_$(AMDDALPATH)/dc/dce120/dce120_resource.o = -Wno-override-init
2828

2929
DCE120 = dce120_timing_generator.o
3030

drivers/gpu/drm/amd/display/dc/dce60/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
# Makefile for the 'controller' sub-component of DAL.
2424
# It provides the control and status of HW CRTC block.
2525

26-
CFLAGS_$(AMDDALPATH)/dc/dce60/dce60_resource.o = $(call cc-disable-warning, override-init)
26+
CFLAGS_$(AMDDALPATH)/dc/dce60/dce60_resource.o = -Wno-override-init
2727

2828
DCE60 = dce60_timing_generator.o dce60_hw_sequencer.o \
2929
dce60_resource.o

drivers/gpu/drm/amd/display/dc/dce80/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
# Makefile for the 'controller' sub-component of DAL.
2424
# It provides the control and status of HW CRTC block.
2525

26-
CFLAGS_$(AMDDALPATH)/dc/dce80/dce80_resource.o = $(call cc-disable-warning, override-init)
26+
CFLAGS_$(AMDDALPATH)/dc/dce80/dce80_resource.o = -Wno-override-init
2727

2828
DCE80 = dce80_timing_generator.o
2929

drivers/gpu/drm/i915/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ endif
3333
subdir-ccflags-$(CONFIG_DRM_I915_WERROR) += -Werror
3434

3535
# Fine grained warnings disable
36-
CFLAGS_i915_pci.o = $(call cc-disable-warning, override-init)
37-
CFLAGS_display/intel_display_device.o = $(call cc-disable-warning, override-init)
38-
CFLAGS_display/intel_fbdev.o = $(call cc-disable-warning, override-init)
36+
CFLAGS_i915_pci.o = -Wno-override-init
37+
CFLAGS_display/intel_display_device.o = -Wno-override-init
38+
CFLAGS_display/intel_fbdev.o = -Wno-override-init
3939

4040
# Support compiling the display code separately for both i915 and xe
4141
# drivers. Define I915 when building i915.

drivers/gpu/drm/xe/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,8 @@ subdir-ccflags-$(CONFIG_DRM_XE_DISPLAY) += \
172172
-Ddrm_i915_gem_object=xe_bo \
173173
-Ddrm_i915_private=xe_device
174174

175-
CFLAGS_i915-display/intel_fbdev.o = $(call cc-disable-warning, override-init)
176-
CFLAGS_i915-display/intel_display_device.o = $(call cc-disable-warning, override-init)
175+
CFLAGS_i915-display/intel_fbdev.o = -Wno-override-init
176+
CFLAGS_i915-display/intel_display_device.o = -Wno-override-init
177177

178178
# Rule to build SOC code shared with i915
179179
$(obj)/i915-soc/%.o: $(srctree)/drivers/gpu/drm/i915/soc/%.c FORCE

0 commit comments

Comments
 (0)