[<prev] [next>] [day] [month] [year] [list]
Message-ID: <CA+r1ZhjSKOcvZm2dsYA3Zy7WM4Vz2n68=O6CNXKEZ4CrkCm0NA@mail.gmail.com>
Date: Tue, 29 Oct 2013 09:44:41 -0700
From: Jim Davis <jim.epost@...il.com>
To: Stephen Rothwell <sfr@...b.auug.org.au>,
linux-next@...r.kernel.org, linux-kernel@...r.kernel.org,
harshavardhan.r.kharche@...el.com, ashutosh.dixit@...el.com,
gregkh@...uxfoundation.org, nikhil.rao@...el.com,
sudeep.dutt@...el.com
Subject: randconfig build error with next-20131029, in drivers/misc/mic/host
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
View attachment "randconfig-1383063276.txt" of type "text/plain" (90175 bytes)
Powered by blists - more mailing lists