tree: https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git pci/host-vmd head: 6cf59d3b557e60a8fe3012761f336615d332a539 commit: 6cf59d3b557e60a8fe3012761f336615d332a539 [3/3] PCI: vmd: Free up IRQs on suspend path config: x86_64-allmodconfig (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: git checkout 6cf59d3b557e60a8fe3012761f336615d332a539 # save the attached .config to linux build tree make ARCH=x86_64 All warnings (new ones prefixed by >>): drivers/pci/host/vmd.c: In function 'vmd_resume': >> drivers/pci/host/vmd.c:791:2: warning: ignoring return value of 'pcim_enable_device', declared with attribute warn_unused_result [-Wunused-result] pcim_enable_device(pdev); ^~~~~~~~~~~~~~~~~~~~~~~~ vim +/pcim_enable_device +791 drivers/pci/host/vmd.c 776 777 static int vmd_resume(struct device *dev) 778 { 779 struct pci_dev *pdev = to_pci_dev(dev); 780 struct vmd_dev *vmd = pci_get_drvdata(pdev); 781 int err, i; 782 783 for (i = 0; i < vmd->msix_count; i++) { 784 err = devm_request_irq(dev, pci_irq_vector(pdev, i), 785 vmd_irq, IRQF_NO_THREAD, 786 "vmd", &vmd->irqs[i]); 787 if (err) 788 return err; 789 } 790 > 791 pcim_enable_device(pdev); 792 pci_restore_state(pdev); 793 return 0; 794 } 795 #endif 796 static SIMPLE_DEV_PM_OPS(vmd_dev_pm_ops, vmd_suspend, vmd_resume); 797 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip