tree: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git s2idle-dell-test head: c045efd4c8397168f3ec3722710c11f64c179f9c commit: dd633099a01cac364bfac1f1320fcb70fae4a3a3 [1/11] ACPI / PM: Run wakeup notify handlers synchronously config: x86_64-randconfig-x010-201724 (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: git checkout dd633099a01cac364bfac1f1320fcb70fae4a3a3 # save the attached .config to linux build tree make ARCH=x86_64 Note: the pm/s2idle-dell-test HEAD c045efd4c8397168f3ec3722710c11f64c179f9c builds fine. It only hurts bisectibility. All errors (new ones prefixed by >>): drivers/pci/pci-acpi.c: In function 'pci_acpi_add_bus_pm_notifier': >> drivers/pci/pci-acpi.c:445:41: error: passing argument 3 of 'acpi_add_pm_notifier' from incompatible pointer type [-Werror=incompatible-pointer-types] return acpi_add_pm_notifier(dev, NULL, pci_acpi_wake_bus); ^~~~~~~~~~~~~~~~~ In file included from include/linux/acpi.h:43:0, from include/linux/pci_hotplug.h:177, from drivers/pci/pci-acpi.c:15: include/acpi/acpi_bus.h:607:27: note: expected 'void (*)(struct work_struct *)' but argument is of type 'void (*)(struct acpi_device_wakeup_context *)' static inline acpi_status acpi_add_pm_notifier(struct acpi_device *adev, ^~~~~~~~~~~~~~~~~~~~ drivers/pci/pci-acpi.c: In function 'pci_acpi_add_pm_notifier': drivers/pci/pci-acpi.c:456:50: error: passing argument 3 of 'acpi_add_pm_notifier' from incompatible pointer type [-Werror=incompatible-pointer-types] return acpi_add_pm_notifier(dev, &pci_dev->dev, pci_acpi_wake_dev); ^~~~~~~~~~~~~~~~~ In file included from include/linux/acpi.h:43:0, from include/linux/pci_hotplug.h:177, from drivers/pci/pci-acpi.c:15: include/acpi/acpi_bus.h:607:27: note: expected 'void (*)(struct work_struct *)' but argument is of type 'void (*)(struct acpi_device_wakeup_context *)' static inline acpi_status acpi_add_pm_notifier(struct acpi_device *adev, ^~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors vim +/acpi_add_pm_notifier +445 drivers/pci/pci-acpi.c 5e3d2344 Bjorn Helgaas 2014-09-12 439 /** 5e3d2344 Bjorn Helgaas 2014-09-12 440 * pci_acpi_add_bus_pm_notifier - Register PM notifier for root PCI bus. 5e3d2344 Bjorn Helgaas 2014-09-12 441 * @dev: PCI root bridge ACPI device. 5e3d2344 Bjorn Helgaas 2014-09-12 442 */ 5e3d2344 Bjorn Helgaas 2014-09-12 443 acpi_status pci_acpi_add_bus_pm_notifier(struct acpi_device *dev) 5e3d2344 Bjorn Helgaas 2014-09-12 444 { 5e3d2344 Bjorn Helgaas 2014-09-12 @445 return acpi_add_pm_notifier(dev, NULL, pci_acpi_wake_bus); 5e3d2344 Bjorn Helgaas 2014-09-12 446 } 5e3d2344 Bjorn Helgaas 2014-09-12 447 5e3d2344 Bjorn Helgaas 2014-09-12 448 /** :::::: The code at line 445 was first introduced by commit :::::: 5e3d234456e25f664e0755c23689173588f4ca9b PCI: Shuffle pci-acpi.c functions to group them logically :::::: TO: Bjorn Helgaas <bhelgaas@xxxxxxxxxx> :::::: CC: Bjorn Helgaas <bhelgaas@xxxxxxxxxx> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip