tree: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge head: 30322455680b4295c4045f2d967c973ffbd79016 commit: 9240f5b4294ce9bcf355732edfa3823cc9f55ff3 [49/50] PM / sleep: Fix PM notifiers invocations from error code paths config: i386-defconfig (attached as .config) compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430 reproduce: git checkout 9240f5b4294ce9bcf355732edfa3823cc9f55ff3 # save the attached .config to linux build tree make ARCH=i386 All errors (new ones prefixed by >>): kernel/power/hibernate.c: In function 'hibernate': >> kernel/power/hibernate.c:668:3: error: expected ';' before 'goto' goto Exit; ^~~~ kernel/power/hibernate.c: In function 'software_resume': kernel/power/hibernate.c:835:3: error: expected ';' before 'goto' goto Close_Finish; ^~~~ vim +668 kernel/power/hibernate.c b10d9117 kernel/power/disk.c Rafael J. Wysocki 2007-07-19 662 } b10d9117 kernel/power/disk.c Rafael J. Wysocki 2007-07-19 663 5a0a2f30 kernel/power/disk.c Rafael J. Wysocki 2008-01-11 664 pm_prepare_console(); 9240f5b4 kernel/power/hibernate.c Lianwei Wang 2016-05-17 665 error = __pm_notifier_call_chain(PM_HIBERNATION_PREPARE, -1, &nr_calls); 9240f5b4 kernel/power/hibernate.c Lianwei Wang 2016-05-17 666 if (error) { 9240f5b4 kernel/power/hibernate.c Lianwei Wang 2016-05-17 667 nr_calls-- b10d9117 kernel/power/disk.c Rafael J. Wysocki 2007-07-19 @668 goto Exit; 9240f5b4 kernel/power/hibernate.c Lianwei Wang 2016-05-17 669 } 0709db60 kernel/power/disk.c Rafael J. Wysocki 2007-05-06 670 23976728 kernel/power/disk.c Rafael J. Wysocki 2007-12-08 671 printk(KERN_INFO "PM: Syncing filesystems ... "); :::::: The code at line 668 was first introduced by commit :::::: b10d911749d37dccfa5873d2088aea3f074b9e45 PM: introduce hibernation and suspend notifiers :::::: TO: Rafael J. Wysocki <rjw@xxxxxxx> :::::: CC: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxxxxxxxx> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: Binary data