arch/mips/sibyte/swarm/setup.c:146:9: error: implicit declaration of function 'vgacon_register_screen'
kernel test robot
build bottree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git tty-next head: 936323f8de4139c9f6ebc0d08e20f1fe200b78a8 commit: 555624c0d10bf09c62c45a86a47e752013f86fb5 [17/49] vgacon: clean up global screen_info instances config: mips-randconfig-r004-20230118 (https://download.01.org/0day-ci/archive/20231024/[email protected]/config) compiler: mipsel-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231024/[email protected]/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 <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
All errors (new ones prefixed by >>):
arch/mips/sibyte/swarm/setup.c:58:5: warning: no previous prototype for 'swarm_be_handler' [-Wmissing-prototypes]
58 | int swarm_be_handler(struct pt_regs *regs, int is_fixup)
| ^~~~~~~~~~~~~~~~
arch/mips/sibyte/swarm/setup.c: In function 'plat_mem_setup':
>> arch/mips/sibyte/swarm/setup.c:146:9: error: implicit declaration of function 'vgacon_register_screen' [-Werror=implicit-function-declaration]
146 | vgacon_register_screen(&vgacon_screen_info);
| ^~~~~~~~~~~~~~~~~~~~~~cc1: some warnings being treated as errors
vim +/vgacon_register_screen +146 arch/mips/sibyte/swarm/setup.c
137
138 mips_set_be_handler(swarm_be_handler);
139
140 if (xicor_probe())
141 swarm_rtc_type = RTC_XICOR;
142 if (m41t81_probe())
143 swarm_rtc_type = RTC_M41T81;
144
145 #ifdef CONFIG_VGA_CONSOLE
> 146 vgacon_register_screen(&vgacon_screen_info);
147 /* XXXKW for CFE, get lines/cols from environment */
148 #endif
149 }
150
Signature · 2 lines
0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
Quoted 6 lines · kernel test robot
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 <[email protected]>
| Closes:
https://lore.kernel.org/oe-kbuild-all/[email protected]/
Thanks for the report, I sent the obvious fix now.
Arnd