[drm-misc:drm-misc-next 1/4] ld.lld: error: duplicate symbol: drm_panic_is_enabled

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: i386-buildonly-randconfig-001-20240720 (https://download.01.org/0day-ci/archive/20240720/202407202339.crvKBwVZ-lkp@xxxxxxxxx/config)
compiler: clang version 18.1.5 (https://github.com/llvm/llvm-project 617a15a9eac96088ae5e9134248d8236e34b91b1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240720/202407202339.crvKBwVZ-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/202407202339.crvKBwVZ-lkp@xxxxxxxxx/

Note: the drm-misc/drm-misc-next HEAD 7e33fc2ff6754b5ff39b11297f713cd0841d9962 builds fine.
      It only hurts bisectability.

All error/warnings (new ones prefixed by >>):

   In file included from drivers/gpu/drm/drm_atomic_helper.c:48:
>> drivers/gpu/drm/drm_crtc_internal.h:324:6: warning: no previous prototype for function 'drm_panic_is_enabled' [-Wmissing-prototypes]
     324 | bool drm_panic_is_enabled(struct drm_device *dev) {return false; }
         |      ^
   drivers/gpu/drm/drm_crtc_internal.h:324:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
     324 | bool drm_panic_is_enabled(struct drm_device *dev) {return false; }
         | ^
         | static 
   1 warning generated.
--
>> ld.lld: error: duplicate symbol: drm_panic_is_enabled
   >>> defined at drm_atomic.c
   >>>            drivers/gpu/drm/drm_atomic.o:(drm_panic_is_enabled)
   >>> defined at drm_debugfs.c
   >>>            drivers/gpu/drm/drm_debugfs.o:(.text+0x0)
--
>> ld.lld: error: duplicate symbol: drm_panic_is_enabled
   >>> defined at drm_atomic.c
   >>>            drivers/gpu/drm/drm_atomic.o:(drm_panic_is_enabled)
   >>> defined at drm_sysfs.c
   >>>            drivers/gpu/drm/drm_sysfs.o:(.text+0x0)
--
>> ld.lld: error: duplicate symbol: drm_panic_is_enabled
   >>> defined at drm_atomic.c
   >>>            drivers/gpu/drm/drm_atomic.o:(drm_panic_is_enabled)
   >>> defined at drm_file.c
   >>>            drivers/gpu/drm/drm_file.o:(.text+0x0)
--
>> ld.lld: error: duplicate symbol: drm_panic_is_enabled
   >>> defined at drm_atomic.c
   >>>            drivers/gpu/drm/drm_atomic.o:(drm_panic_is_enabled)
   >>> defined at drm_encoder.c
   >>>            drivers/gpu/drm/drm_encoder.o:(.text+0x0)
--
>> ld.lld: error: duplicate symbol: drm_panic_is_enabled
   >>> defined at drm_atomic.c
   >>>            drivers/gpu/drm/drm_atomic.o:(drm_panic_is_enabled)
   >>> defined at drm_eld.c
   >>>            drivers/gpu/drm/drm_eld.o:(.text+0x0)
--
>> ld.lld: error: duplicate symbol: drm_panic_is_enabled
   >>> defined at drm_atomic.c
   >>>            drivers/gpu/drm/drm_atomic.o:(drm_panic_is_enabled)
   >>> defined at drm_edid.c
   >>>            drivers/gpu/drm/drm_edid.o:(.text+0x0)
--
>> ld.lld: error: duplicate symbol: drm_panic_is_enabled
   >>> defined at drm_atomic.c
   >>>            drivers/gpu/drm/drm_atomic.o:(drm_panic_is_enabled)
   >>> defined at drm_dumb_buffers.c
   >>>            drivers/gpu/drm/drm_dumb_buffers.o:(.text+0x0)
--
>> ld.lld: error: duplicate symbol: drm_panic_is_enabled
   >>> defined at drm_atomic.c
   >>>            drivers/gpu/drm/drm_atomic.o:(drm_panic_is_enabled)
   >>> defined at drm_drv.c
   >>>            drivers/gpu/drm/drm_drv.o:(.text+0x0)
--
>> ld.lld: error: duplicate symbol: drm_panic_is_enabled
   >>> defined at drm_atomic.c
   >>>            drivers/gpu/drm/drm_atomic.o:(drm_panic_is_enabled)
   >>> defined at drm_displayid.c
   >>>            drivers/gpu/drm/drm_displayid.o:(.text+0x0)
--
>> ld.lld: error: duplicate symbol: drm_panic_is_enabled
   >>> defined at drm_atomic.c
   >>>            drivers/gpu/drm/drm_atomic.o:(drm_panic_is_enabled)
   >>> defined at drm_crtc.c
   >>>            drivers/gpu/drm/drm_crtc.o:(.text+0x0)
..

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki



[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux