[tty:tty-next 17/49] arch/mips/sibyte/swarm/setup.c:146:9: error: implicit declaration of function 'vgacon_register_screen'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   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/202310240429.UqeQ2Cpr-lkp@xxxxxxxxx/config)
compiler: mipsel-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231024/202310240429.UqeQ2Cpr-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/202310240429.UqeQ2Cpr-lkp@xxxxxxxxx/

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	

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



[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux