[pci:pci/pm-2 13/15] drivers/xen/platform-pci.c:172:20: error: initialization from incompatible pointer type

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git pci/pm-2
head:   c0f8be2112be6e3b6fd6f57aae094c8c9ebdbf7f
commit: b919d7498411559be7d9f8c2de0b7fe24ae32208 [13/15] xen-platform: Convert to generic power management
config: x86_64-allmodconfig (attached as .config)
compiler: gcc-7 (Debian 7.4.0-14) 7.4.0
reproduce:
        git checkout b919d7498411559be7d9f8c2de0b7fe24ae32208
        # save the attached .config to linux build tree
        make ARCH=x86_64 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

>> drivers/xen/platform-pci.c:172:20: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
     .resume_noirq =   platform_pci_resume,
                       ^~~~~~~~~~~~~~~~~~~
   drivers/xen/platform-pci.c:172:20: note: (near initialization for 'platform_pm_ops.resume_noirq')
   cc1: some warnings being treated as errors

vim +172 drivers/xen/platform-pci.c

   170	
   171	static struct dev_pm_ops platform_pm_ops = {
 > 172		.resume_noirq =   platform_pci_resume,
   173	};
   174	

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

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux