tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git tty-testing head: a5420aa84c532497b61ef1a2d46ae4a09d675da3 commit: ea2683bf546cd8d1b69cff46787804dc5494a169 [25/73] tty/serial: Migrate 8250_fsl to use has_sysrq config: powerpc-defconfig (attached as .config) compiler: powerpc64-linux-gcc (GCC) 7.5.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout ea2683bf546cd8d1b69cff46787804dc5494a169 # save the attached .config to linux build tree GCC_VERSION=7.5.0 make.cross ARCH=powerpc If you fix the issue, kindly add following tag Reported-by: kbuild test robot <lkp@xxxxxxxxx> All errors (new ones prefixed by >>): arch/powerpc/kernel/legacy_serial.c: In function 'fixup_port_irq': >> arch/powerpc/kernel/legacy_serial.c:484:7: error: 'struct plat_serial8250_port' has no member named 'has_sysrq' port->has_sysrq = IS_ENABLED(CONFIG_SERIAL_8250_CONSOLE); ^~ vim +484 arch/powerpc/kernel/legacy_serial.c 459 460 static void __init fixup_port_irq(int index, 461 struct device_node *np, 462 struct plat_serial8250_port *port) 463 { 464 unsigned int virq; 465 466 DBG("fixup_port_irq(%d)\n", index); 467 468 virq = irq_of_parse_and_map(np, 0); 469 if (!virq && legacy_serial_infos[index].irq_check_parent) { 470 np = of_get_parent(np); 471 if (np == NULL) 472 return; 473 virq = irq_of_parse_and_map(np, 0); 474 of_node_put(np); 475 } 476 if (!virq) 477 return; 478 479 port->irq = virq; 480 481 #ifdef CONFIG_SERIAL_8250_FSL 482 if (of_device_is_compatible(np, "fsl,ns16550")) { 483 port->handle_irq = fsl8250_handle_irq; > 484 port->has_sysrq = IS_ENABLED(CONFIG_SERIAL_8250_CONSOLE); 485 } 486 #endif 487 } 488 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx Intel Corporation
Attachment:
.config.gz
Description: application/gzip