randconfig build error with next-20131029, in drivers/misc/mic/host

From: Jim Davis <hidden>
Date: 2013-10-29 16:44:47
Also in: lkml

Building with the attached random configuration file,

In file included from drivers/misc/mic/host/mic_device.h:28:0,
                 from drivers/misc/mic/host/mic_boot.c:26:
drivers/misc/mic/host/mic_intr.h:134:58: warning: ‘struct pci_dev’
declared inside parameter list [enabled by default]
 int mic_setup_interrupts(struct mic_device *mdev, struct pci_dev *pdev);
                                                          ^
drivers/misc/mic/host/mic_intr.h:134:58: warning: its scope is only
this definition or declaration, which is probably not what you want
[enabled by default]
drivers/misc/mic/host/mic_intr.h:135:58: warning: ‘struct pci_dev’
declared inside parameter list [enabled by default]
 void mic_free_interrupts(struct mic_device *mdev, struct pci_dev *pdev);
                                                          ^
In file included from drivers/misc/mic/host/mic_boot.c:26:0:
drivers/misc/mic/host/mic_device.h: In function ‘mic_mmio_read’:
drivers/misc/mic/host/mic_device.h:169:2: error: implicit declaration
of function ‘ioread32’ [-Werror=implicit-function-declaration]
  return ioread32(mw->va + offset);
  ^
drivers/misc/mic/host/mic_device.h: In function ‘mic_mmio_write’:
drivers/misc/mic/host/mic_device.h:183:2: error: implicit declaration
of function ‘iowrite32’ [-Werror=implicit-function-declaration]
  iowrite32(val, mw->va + offset);
  ^
In file included from /home/jim/linux/arch/x86/include/asm/io.h:193:0,
                 from include/linux/scatterlist.h:10,
                 from include/linux/virtio.h:6,
                 from include/linux/virtio_config.h:6,
                 from drivers/misc/mic/host/mic_virtio.h:24,
                 from drivers/misc/mic/host/mic_boot.c:28:
include/asm-generic/iomap.h: At top level:
include/asm-generic/iomap.h:31:21: error: conflicting types for ‘ioread32’
 extern unsigned int ioread32(void __iomem *);
                     ^
In file included from drivers/misc/mic/host/mic_boot.c:26:0:
drivers/misc/mic/host/mic_device.h:169:9: note: previous implicit
declaration of ‘ioread32’ was here
  return ioread32(mw->va + offset);
         ^
In file included from /home/jim/linux/arch/x86/include/asm/io.h:193:0,
                 from include/linux/scatterlist.h:10,
                 from include/linux/virtio.h:6,
                 from include/linux/virtio_config.h:6,
                 from drivers/misc/mic/host/mic_virtio.h:24,
                 from drivers/misc/mic/host/mic_boot.c:28:
include/asm-generic/iomap.h:37:13: warning: conflicting types for
‘iowrite32’ [enabled by default]
 extern void iowrite32(u32, void __iomem *);
             ^
In file included from drivers/misc/mic/host/mic_boot.c:26:0:
drivers/misc/mic/host/mic_device.h:183:2: note: previous implicit
declaration of ‘iowrite32’ was here
  iowrite32(val, mw->va + offset);
  ^
cc1: some warnings being treated as errors
make[4]: *** [drivers/misc/mic/host/mic_boot.o] Error 1
make[3]: *** [drivers/misc/mic/host] Error 2
make[2]: *** [drivers/misc/mic] Error 2
make[1]: *** [drivers/misc] Error 2

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help