fbcon.c:undefined reference to `fb_is_primary_device'

From: kernel test robot
Date: Mon Feb 05 2024 - 07:12:51 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 8a696a29c6905594e4abf78eaafcb62165ac61f1
commit: c242f48433e79ea8c8c9eb8d2b4a3ee340e635fb drm: Make FB_CORE to be selected if DRM fbdev emulation is enabled
date: 6 months ago
:::::: branch date: 26 hours ago
:::::: commit date: 6 months ago
config: sparc64-randconfig-002-20240128 (https://download.01.org/0day-ci/archive/20240129/202401290306.IV8rhJ02-lkp@xxxxxxxxx/config)
compiler: sparc64-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240129/202401290306.IV8rhJ02-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/r/202401290306.IV8rhJ02-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

sparc64-linux-ld: drivers/video/fbdev/core/fbcon.o: in function `fbcon_fb_registered':
>> fbcon.c:(.text+0x4f60): undefined reference to `fb_is_primary_device'

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