tree: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next head: 7e33fc2ff6754b5ff39b11297f713cd0841d9962 commit: 9f774c42a908affba615bbed7463dd4f904dd5f1 [1/4] drm/panic: Add drm_panic_is_enabled() config: x86_64-defconfig (https://download.01.org/0day-ci/archive/20240720/202407202247.ROkHkQ18-lkp@xxxxxxxxx/config) compiler: gcc-13 (Ubuntu 13.2.0-4ubuntu3) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240720/202407202247.ROkHkQ18-lkp@xxxxxxxxx/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot <lkp@xxxxxxxxx> | Closes: https://lore.kernel.org/oe-kbuild-all/202407202247.ROkHkQ18-lkp@xxxxxxxxx/ Note: the drm-misc/drm-misc-next HEAD 7e33fc2ff6754b5ff39b11297f713cd0841d9962 builds fine. It only hurts bisectability. All error/warnings (new ones prefixed by >>): ld: drivers/gpu/drm/drm_atomic_uapi.o: in function `drm_panic_is_enabled': >> drm_atomic_uapi.c:(.text+0x1e40): multiple definition of `drm_panic_is_enabled'; drivers/gpu/drm/drm_atomic.o:drm_atomic.c:(.text+0x2ca0): first defined here ld: drivers/gpu/drm/drm_blend.o: in function `drm_panic_is_enabled': drm_blend.c:(.text+0x6c0): multiple definition of `drm_panic_is_enabled'; drivers/gpu/drm/drm_atomic.o:drm_atomic.c:(.text+0x2ca0): first defined here ld: drivers/gpu/drm/drm_bridge.o: in function `drm_panic_is_enabled': drm_bridge.c:(.text+0x1160): multiple definition of `drm_panic_is_enabled'; drivers/gpu/drm/drm_atomic.o:drm_atomic.c:(.text+0x2ca0): first defined here ld: drivers/gpu/drm/drm_client.o: in function `drm_panic_is_enabled': drm_client.c:(.text+0xae0): multiple definition of `drm_panic_is_enabled'; drivers/gpu/drm/drm_atomic.o:drm_atomic.c:(.text+0x2ca0): first defined here ld: drivers/gpu/drm/drm_client_modeset.o: in function `drm_panic_is_enabled': drm_client_modeset.c:(.text+0x2550): multiple definition of `drm_panic_is_enabled'; drivers/gpu/drm/drm_atomic.o:drm_atomic.c:(.text+0x2ca0): first defined here ld: drivers/gpu/drm/drm_color_mgmt.o: in function `drm_panic_is_enabled': drm_color_mgmt.c:(.text+0x6e0): multiple definition of `drm_panic_is_enabled'; drivers/gpu/drm/drm_atomic.o:drm_atomic.c:(.text+0x2ca0): first defined here ld: drivers/gpu/drm/drm_connector.o: in function `drm_panic_is_enabled': drm_connector.c:(.text+0x2800): multiple definition of `drm_panic_is_enabled'; drivers/gpu/drm/drm_atomic.o:drm_atomic.c:(.text+0x2ca0): first defined here ld: drivers/gpu/drm/drm_crtc.o: in function `drm_panic_is_enabled': drm_crtc.c:(.text+0xa80): multiple definition of `drm_panic_is_enabled'; drivers/gpu/drm/drm_atomic.o:drm_atomic.c:(.text+0x2ca0): first defined here ld: drivers/gpu/drm/drm_displayid.o: in function `drm_panic_is_enabled': drm_displayid.c:(.text+0x10): multiple definition of `drm_panic_is_enabled'; drivers/gpu/drm/drm_atomic.o:drm_atomic.c:(.text+0x2ca0): first defined here ld: drivers/gpu/drm/drm_drv.o: in function `drm_panic_is_enabled': drm_drv.c:(.text+0xfe0): multiple definition of `drm_panic_is_enabled'; drivers/gpu/drm/drm_atomic.o:drm_atomic.c:(.text+0x2ca0): first defined here ld: drivers/gpu/drm/drm_dumb_buffers.o: in function `drm_panic_is_enabled': drm_dumb_buffers.c:(.text+0x10): multiple definition of `drm_panic_is_enabled'; drivers/gpu/drm/drm_atomic.o:drm_atomic.c:(.text+0x2ca0): first defined here ld: drivers/gpu/drm/drm_edid.o: in function `drm_panic_is_enabled': drm_edid.c:(.text+0x7d80): multiple definition of `drm_panic_is_enabled'; drivers/gpu/drm/drm_atomic.o:drm_atomic.c:(.text+0x2ca0): first defined here ld: drivers/gpu/drm/drm_eld.o: in function `drm_panic_is_enabled': drm_eld.c:(.text+0xd0): multiple definition of `drm_panic_is_enabled'; drivers/gpu/drm/drm_atomic.o:drm_atomic.c:(.text+0x2ca0): first defined here ld: drivers/gpu/drm/drm_encoder.o: in function `drm_panic_is_enabled': drm_encoder.c:(.text+0x4d0): multiple definition of `drm_panic_is_enabled'; drivers/gpu/drm/drm_atomic.o:drm_atomic.c:(.text+0x2ca0): first defined here ld: drivers/gpu/drm/drm_file.o: in function `drm_panic_is_enabled': drm_file.c:(.text+0xb30): multiple definition of `drm_panic_is_enabled'; drivers/gpu/drm/drm_atomic.o:drm_atomic.c:(.text+0x2ca0): first defined here ld: drivers/gpu/drm/drm_framebuffer.o: in function `drm_panic_is_enabled': drm_framebuffer.c:(.text+0xdc0): multiple definition of `drm_panic_is_enabled'; drivers/gpu/drm/drm_atomic.o:drm_atomic.c:(.text+0x2ca0): first defined here ld: drivers/gpu/drm/drm_ioctl.o: in function `drm_panic_is_enabled': drm_ioctl.c:(.text+0xe20): multiple definition of `drm_panic_is_enabled'; drivers/gpu/drm/drm_atomic.o:drm_atomic.c:(.text+0x2ca0): first defined here ld: drivers/gpu/drm/drm_lease.o: in function `drm_panic_is_enabled': drm_lease.c:(.text+0x720): multiple definition of `drm_panic_is_enabled'; drivers/gpu/drm/drm_atomic.o:drm_atomic.c:(.text+0x2ca0): first defined here ld: drivers/gpu/drm/drm_mode_config.o: in function `drm_panic_is_enabled': drm_mode_config.c:(.text+0xc30): multiple definition of `drm_panic_is_enabled'; drivers/gpu/drm/drm_atomic.o:drm_atomic.c:(.text+0x2ca0): first defined here ld: drivers/gpu/drm/drm_mode_object.o: in function `drm_panic_is_enabled': drm_mode_object.c:(.text+0x3a0): multiple definition of `drm_panic_is_enabled'; drivers/gpu/drm/drm_atomic.o:drm_atomic.c:(.text+0x2ca0): first defined here ld: drivers/gpu/drm/drm_modes.o: in function `drm_panic_is_enabled': drm_modes.c:(.text+0x3270): multiple definition of `drm_panic_is_enabled'; drivers/gpu/drm/drm_atomic.o:drm_atomic.c:(.text+0x2ca0): first defined here ld: drivers/gpu/drm/drm_plane.o: in function `drm_panic_is_enabled': drm_plane.c:(.text+0x10d0): multiple definition of `drm_panic_is_enabled'; drivers/gpu/drm/drm_atomic.o:drm_atomic.c:(.text+0x2ca0): first defined here ld: drivers/gpu/drm/drm_property.o: in function `drm_panic_is_enabled': drm_property.c:(.text+0xc30): multiple definition of `drm_panic_is_enabled'; drivers/gpu/drm/drm_atomic.o:drm_atomic.c:(.text+0x2ca0): first defined here ld: drivers/gpu/drm/drm_sysfs.o: in function `drm_panic_is_enabled': drm_sysfs.c:(.text+0x9c0): multiple definition of `drm_panic_is_enabled'; drivers/gpu/drm/drm_atomic.o:drm_atomic.c:(.text+0x2ca0): first defined here ld: drivers/gpu/drm/drm_ioc32.o: in function `drm_panic_is_enabled': drm_ioc32.c:(.text+0x760): multiple definition of `drm_panic_is_enabled'; drivers/gpu/drm/drm_atomic.o:drm_atomic.c:(.text+0x2ca0): first defined here ld: drivers/gpu/drm/drm_debugfs.o: in function `drm_panic_is_enabled': drm_debugfs.c:(.text+0x11d0): multiple definition of `drm_panic_is_enabled'; drivers/gpu/drm/drm_atomic.o:drm_atomic.c:(.text+0x2ca0): first defined here ld: drivers/gpu/drm/drm_atomic_helper.o: in function `drm_panic_is_enabled': drm_atomic_helper.c:(.text+0x5ac0): multiple definition of `drm_panic_is_enabled'; drivers/gpu/drm/drm_atomic.o:drm_atomic.c:(.text+0x2ca0): first defined here -- In file included from drivers/gpu/drm/drm_edid.c:49: >> drivers/gpu/drm/drm_crtc_internal.h:324:6: warning: no previous prototype for 'drm_panic_is_enabled' [-Wmissing-prototypes] 324 | bool drm_panic_is_enabled(struct drm_device *dev) {return false; } | ^~~~~~~~~~~~~~~~~~~~ -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki