tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git tty-testing head: 71404f653cf7858fdbb81dd5419a8a4ac4ffa20c commit: 9e8d5470325f25bed7d33f9faaae6d5e4f313650 [36/42] serial: sunplus-uart: Add Sunplus SoC UART Driver config: parisc-buildonly-randconfig-r002-20220227 (https://download.01.org/0day-ci/archive/20220227/202202270135.XFr12qec-lkp@xxxxxxxxx/config) compiler: hppa64-linux-gcc (GCC) 11.2.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=9e8d5470325f25bed7d33f9faaae6d5e4f313650 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 9e8d5470325f25bed7d33f9faaae6d5e4f313650 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=parisc64 SHELL=/bin/bash drivers/tty/serial/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@xxxxxxxxx> All errors (new ones prefixed by >>): >> drivers/tty/serial/sunplus-uart.c:574:28: error: 'sunplus_uart_console' undeclared here (not in a function); did you mean 'sunplus_uart_ops'? 574 | .cons = &sunplus_uart_console, | ^~~~~~~~~~~~~~~~~~~~ | sunplus_uart_ops vim +574 drivers/tty/serial/sunplus-uart.c 566 567 static struct uart_driver sunplus_uart_driver = { 568 .owner = THIS_MODULE, 569 .driver_name = "sunplus_uart", 570 .dev_name = "ttySUP", 571 .major = TTY_MAJOR, 572 .minor = 64, 573 .nr = SUP_UART_NR, > 574 .cons = &sunplus_uart_console, 575 }; 576 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx