tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git tty-testing head: ceefa81e6e69b020997205e5c30a42d43aa5ae63 commit: ceefa81e6e69b020997205e5c30a42d43aa5ae63 [77/77] serial: remove VR41XX serial driver config: mips-tb0226_defconfig (https://download.01.org/0day-ci/archive/20220717/202207171049.VucAZfef-lkp@xxxxxxxxx/config) compiler: mipsel-linux-gcc (GCC) 12.1.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git/commit/?id=ceefa81e6e69b020997205e5c30a42d43aa5ae63 git remote add tty https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git git fetch --no-tags tty tty-testing git checkout ceefa81e6e69b020997205e5c30a42d43aa5ae63 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=mips SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot <lkp@xxxxxxxxx> All errors (new ones prefixed by >>): >> arch/mips/vr41xx/common/siu.c:18:9: error: 'PORT_VR41XX_SIU' undeclared here (not in a function) 18 | PORT_VR41XX_SIU, | ^~~~~~~~~~~~~~~ >> arch/mips/vr41xx/common/siu.c:37:9: error: 'PORT_VR41XX_DSIU' undeclared here (not in a function) 37 | PORT_VR41XX_DSIU, | ^~~~~~~~~~~~~~~~ arch/mips/vr41xx/common/siu.c:110:13: warning: no previous prototype for 'vr41xx_siu_setup' [-Wmissing-prototypes] 110 | void __init vr41xx_siu_setup(void) | ^~~~~~~~~~~~~~~~ vim +/PORT_VR41XX_SIU +18 arch/mips/vr41xx/common/siu.c 891649409edbed Yoichi Yuasa 2007-05-09 16 891649409edbed Yoichi Yuasa 2007-05-09 17 static unsigned int siu_type1_ports[SIU_PORTS_MAX] __initdata = { 891649409edbed Yoichi Yuasa 2007-05-09 @18 PORT_VR41XX_SIU, 891649409edbed Yoichi Yuasa 2007-05-09 19 PORT_UNKNOWN, 891649409edbed Yoichi Yuasa 2007-05-09 20 }; 891649409edbed Yoichi Yuasa 2007-05-09 21 891649409edbed Yoichi Yuasa 2007-05-09 22 static struct resource siu_type1_resource[] __initdata = { 891649409edbed Yoichi Yuasa 2007-05-09 23 { 891649409edbed Yoichi Yuasa 2007-05-09 24 .start = 0x0c000000, 891649409edbed Yoichi Yuasa 2007-05-09 25 .end = 0x0c00000a, 891649409edbed Yoichi Yuasa 2007-05-09 26 .flags = IORESOURCE_MEM, 891649409edbed Yoichi Yuasa 2007-05-09 27 }, 891649409edbed Yoichi Yuasa 2007-05-09 28 { 891649409edbed Yoichi Yuasa 2007-05-09 29 .start = SIU_IRQ, 891649409edbed Yoichi Yuasa 2007-05-09 30 .end = SIU_IRQ, 891649409edbed Yoichi Yuasa 2007-05-09 31 .flags = IORESOURCE_IRQ, 891649409edbed Yoichi Yuasa 2007-05-09 32 }, 891649409edbed Yoichi Yuasa 2007-05-09 33 }; 891649409edbed Yoichi Yuasa 2007-05-09 34 891649409edbed Yoichi Yuasa 2007-05-09 35 static unsigned int siu_type2_ports[SIU_PORTS_MAX] __initdata = { 891649409edbed Yoichi Yuasa 2007-05-09 36 PORT_VR41XX_SIU, 891649409edbed Yoichi Yuasa 2007-05-09 @37 PORT_VR41XX_DSIU, 891649409edbed Yoichi Yuasa 2007-05-09 38 }; 891649409edbed Yoichi Yuasa 2007-05-09 39 :::::: The code at line 18 was first introduced by commit :::::: 891649409edbed528728b4a104d29e43e9d7473a [MIPS] separate platform_device registration for VR41xx serial interface :::::: TO: Yoichi Yuasa <yoichi_yuasa@xxxxxxxxxxxxxx> :::::: CC: Ralf Baechle <ralf@xxxxxxxxxxxxxx> -- 0-DAY CI Kernel Test Service https://01.org/lkp