Hi Jocelyn, First bad commit (maybe != root cause): tree: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next head: 7e33fc2ff6754b5ff39b11297f713cd0841d9962 commit: 3a9b77cee7502f7450c725d4ead2c4a44924d158 [4/4] drm/panic: Remove build time dependency with FRAMEBUFFER_CONSOLE config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20240721/202407210209.qmItlGt0-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/20240721/202407210209.qmItlGt0-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/202407210209.qmItlGt0-lkp@xxxxxxxxx/ Note: the drm-misc/drm-misc-next HEAD 7e33fc2ff6754b5ff39b11297f713cd0841d9962 builds fine. It only hurts bisectability. All errors (new ones prefixed by >>): >> drivers/gpu/drm/drm_panic.c:712:6: error: no previous prototype for function 'drm_panic_is_enabled' [-Werror,-Wmissing-prototypes] 712 | bool drm_panic_is_enabled(struct drm_device *dev) | ^ drivers/gpu/drm/drm_panic.c:712:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 712 | bool drm_panic_is_enabled(struct drm_device *dev) | ^ | static 1 error generated. vim +/drm_panic_is_enabled +712 drivers/gpu/drm/drm_panic.c 813ca3aa8fecac Jocelyn Falempe 2024-04-09 705 9f774c42a908af Jocelyn Falempe 2024-07-17 706 /** 9f774c42a908af Jocelyn Falempe 2024-07-17 707 * drm_panic_is_enabled 9f774c42a908af Jocelyn Falempe 2024-07-17 708 * @dev: the drm device that may supports drm_panic 9f774c42a908af Jocelyn Falempe 2024-07-17 709 * 9f774c42a908af Jocelyn Falempe 2024-07-17 710 * returns true if the drm device supports drm_panic 9f774c42a908af Jocelyn Falempe 2024-07-17 711 */ 9f774c42a908af Jocelyn Falempe 2024-07-17 @712 bool drm_panic_is_enabled(struct drm_device *dev) 9f774c42a908af Jocelyn Falempe 2024-07-17 713 { 9f774c42a908af Jocelyn Falempe 2024-07-17 714 struct drm_plane *plane; 9f774c42a908af Jocelyn Falempe 2024-07-17 715 9f774c42a908af Jocelyn Falempe 2024-07-17 716 if (!dev->mode_config.num_total_plane) 9f774c42a908af Jocelyn Falempe 2024-07-17 717 return false; 9f774c42a908af Jocelyn Falempe 2024-07-17 718 9f774c42a908af Jocelyn Falempe 2024-07-17 719 drm_for_each_plane(plane, dev) 9f774c42a908af Jocelyn Falempe 2024-07-17 720 if (plane->helper_private && plane->helper_private->get_scanout_buffer) 9f774c42a908af Jocelyn Falempe 2024-07-17 721 return true; 9f774c42a908af Jocelyn Falempe 2024-07-17 722 return false; 9f774c42a908af Jocelyn Falempe 2024-07-17 723 } 9f774c42a908af Jocelyn Falempe 2024-07-17 724 EXPORT_SYMBOL(drm_panic_is_enabled); 9f774c42a908af Jocelyn Falempe 2024-07-17 725 :::::: The code at line 712 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