[drm-misc:drm-misc-next 3/4] drivers/gpu/drm/drm_crtc_internal.h:324: multiple definition of `drm_panic_is_enabled'; drivers/gpu/drm/drm_atomic_helper.o:drivers/gpu/drm/drm_crtc_internal.h:324: first defined here

[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: c2c2a91f3868515969a758042887fdc722216525 [3/4] drm/fb-helper: Set skip_panic if the drm driver supports drm panic
config: i386-randconfig-011-20240720 (https://download.01.org/0day-ci/archive/20240721/202407210342.prqxRmZF-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/20240721/202407210342.prqxRmZF-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/202407210342.prqxRmZF-lkp@xxxxxxxxx/

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

All errors (new ones prefixed by >>):

   ld: drivers/gpu/drm/drm_fb_helper.o: in function `drm_panic_is_enabled':
>> drivers/gpu/drm/drm_crtc_internal.h:324: multiple definition of `drm_panic_is_enabled'; drivers/gpu/drm/drm_atomic_helper.o:drivers/gpu/drm/drm_crtc_internal.h:324: first defined here


vim +324 drivers/gpu/drm/drm_crtc_internal.h

d70ca9069042c3 Jani Nikula     2024-03-08  319  
9f774c42a908af Jocelyn Falempe 2024-07-17  320  /* drm_panic.c */
9f774c42a908af Jocelyn Falempe 2024-07-17  321  #ifdef CONFIG_DRM_PANIC
9f774c42a908af Jocelyn Falempe 2024-07-17  322  bool drm_panic_is_enabled(struct drm_device *dev);
9f774c42a908af Jocelyn Falempe 2024-07-17  323  #else
9f774c42a908af Jocelyn Falempe 2024-07-17 @324  bool drm_panic_is_enabled(struct drm_device *dev) {return false; }
9f774c42a908af Jocelyn Falempe 2024-07-17  325  #endif
9f774c42a908af Jocelyn Falempe 2024-07-17  326  

:::::: The code at line 324 was first introduced by commit
:::::: 9f774c42a908affba615bbed7463dd4f904dd5f1 drm/panic: Add drm_panic_is_enabled()

:::::: TO: Jocelyn Falempe <jfalempe@xxxxxxxxxx>
:::::: CC: Jocelyn Falempe <jfalempe@xxxxxxxxxx>

-- 
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