Hi Daniel, I love your patch! Yet something to improve: [auto build test ERROR on input/next] [also build test ERROR on v4.19-rc3 next-20180910] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Daniel-Drake/i8042-enable-keyboard-wakeups-by-default-when-s2idle-is-used/20180911-091924 base: https://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git next config: ia64-defconfig (attached as .config) compiler: ia64-linux-gcc (GCC) 8.1.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree GCC_VERSION=8.1.0 make.cross ARCH=ia64 All errors (new ones prefixed by >>): drivers/input/serio/i8042.c: In function 'i8042_register_ports': >> drivers/input/serio/i8042.c:1415:7: error: 'mem_sleep_current' undeclared (first use in this function); did you mean 'rcu_sleep_check'? if (mem_sleep_current == PM_SUSPEND_TO_IDLE ^~~~~~~~~~~~~~~~~ rcu_sleep_check drivers/input/serio/i8042.c:1415:7: note: each undeclared identifier is reported only once for each function it appears in vim +1415 drivers/input/serio/i8042.c 1390 1391 static void __init i8042_register_ports(void) 1392 { 1393 int i; 1394 1395 for (i = 0; i < I8042_NUM_PORTS; i++) { 1396 struct serio *serio = i8042_ports[i].serio; 1397 1398 if (!serio) 1399 continue; 1400 1401 printk(KERN_INFO "serio: %s at %#lx,%#lx irq %d\n", 1402 serio->name, 1403 (unsigned long) I8042_DATA_REG, 1404 (unsigned long) I8042_COMMAND_REG, 1405 i8042_ports[i].irq); 1406 serio_register_port(serio); 1407 device_set_wakeup_capable(&serio->dev, true); 1408 1409 /* 1410 * On platforms using suspend-to-idle by default, make the keyboard 1411 * wake up the system from sleep by enabling keyboard wakeups by 1412 * default. That is consistent with keyboard wakeup behavior on 1413 * many platforms using suspend-to-RAM (ACPI S3) by default. 1414 */ > 1415 if (mem_sleep_current == PM_SUSPEND_TO_IDLE 1416 && i == I8042_KBD_PORT_NO) 1417 device_set_wakeup_enable(&serio->dev, true); 1418 } 1419 } 1420 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip