Re: [PATCH] PCI / PM: tune down RPM suspend error message with EBUSY and EAGAIN retval

kbuild test robot
2015-11-18T10:18:08Z

[-- Attachment #1: Type: text/plain, Size: 1391 bytes --]

Hi Imre,

[auto build test ERROR on pci/next]
[also build test ERROR on v4.4-rc1 next-20151118]

url: https://github.com/0day-ci/linux/commits/Imre-Deak/PCI-PM-tune-down-RPM-suspend-error-message-with-EBUSY-and-EAGAIN-retval/20151118-171831
base: https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git next
config: i386-randconfig-a0-201546 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=i386

All errors (new ones prefixed by >>):

drivers/pci/pci-driver.c: In function 'pci_pm_runtime_suspend':
>> drivers/pci/pci-driver.c:1149:2: error: implicit declaration of function 'rpm_suspend_report_result' [-Werror=implicit-function-declaration]
rpm_suspend_report_result(pm->runtime_suspend, error);
^
cc1: some warnings being treated as errors

vim +/rpm_suspend_report_result +1149 drivers/pci/pci-driver.c

1143 if (!pm || !pm->runtime_suspend)
1144 return -ENOSYS;
1145
1146 pci_dev->state_saved = false;
1147 pci_dev->no_d3cold = false;
1148 error = pm->runtime_suspend(dev);
> 1149 rpm_suspend_report_result(pm->runtime_suspend, error);
1150 if (error)
1151 return error;
1152 if (!pci_dev->d3cold_allowed)

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 25191 bytes --]

[-- Attachment #3: Type: text/plain, Size: 159 bytes --]