lkml.org 
[lkml]   [2015]   [Oct]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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]
\
 
 \ /
  Last update: 2015-10-04 02:41    [W:0.083 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site