Re: [RFC PATCHv2] x86/pci: Initial commit for new VMD device driver

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

 



Hi Keith,

[auto build test results on v4.3-rc3 -- if it's inappropriate base, please ignore]

config: i386-randconfig-h1-10040721 (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All warnings (new ones prefixed by >>):

   In file included from arch/x86/pci/vmd.c:25:0:
>> arch/x86/include/asm/vmd.h:34:13: warning: 'vmd_add_dma_device' defined but not used [-Wunused-function]
    static void vmd_add_dma_device(struct vmd_dev *vmd) {}
                ^
>> arch/x86/include/asm/vmd.h:35:13: warning: 'vmd_del_dma_device' defined but not used [-Wunused-function]
    static void vmd_del_dma_device(struct vmd_dev *vmd) {}
                ^

vim +/vmd_add_dma_device +34 arch/x86/include/asm/vmd.h

    28	struct irq_domain *arch_create_vmd_msi_irq_domain(struct pci_dev *dev,
    29					const struct irq_domain_ops *domain_ops);
    30	#ifdef CONFIG_X86_DEV_DMA_OPS
    31	void vmd_add_dma_device(struct vmd_dev *vmd);
    32	void vmd_del_dma_device(struct vmd_dev *vmd);
    33	#else
  > 34	static void vmd_add_dma_device(struct vmd_dev *vmd) {}
  > 35	static void vmd_del_dma_device(struct vmd_dev *vmd) {}
    36	#endif
    37	
    38	#endif

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

Attachment: .config.gz
Description: Binary data


[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