fbmon.c:undefined reference to `sysfb_primary_display'

From: kernel test robot

Date: Sun Oct 04 2026 - 08:44:57 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 6addb4f385570ebc11c4eb499a4f1c149f313e84
commit: c5a8f13f1e476c90f4bc184a58751d3e7ff88f2b efi: Support EDID information
date: 10 months ago
config: loongarch-randconfig-r2300-20261003 (https://download.01.org/0day-ci/archive/20261004/202610041430.YMCQIZYX-lkp@xxxxxxxxx/config)
compiler: loongarch64-linux-gcc (GCC) 16.1.0
sparse: v0.6.5-rc1
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261004/202610041430.YMCQIZYX-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
| Fixes: c5a8f13f1e47 ("efi: Support EDID information")
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202610041430.YMCQIZYX-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

loongarch64-linux-ld: drivers/video/fbdev/core/fbmon.o: in function `fb_firmware_edid':
>> fbmon.c:(.text+0x1458): undefined reference to `sysfb_primary_display'
>> loongarch64-linux-ld: fbmon.c:(.text+0x145c): undefined reference to `sysfb_primary_display'

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