Messages in this thread | ![/](/images/icornerl.gif) | | Date | Sun, 4 Oct 2015 08:29:16 +0800 | From | kbuild test robot <> | Subject | Re: [RFC PATCHv2] x86/pci: Initial commit for new VMD device driver |
| |
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 [unhandled content-type:application/octet-stream] | ![\](/images/icornerr.gif) |