From: Stephen Rothwell <sfr@canb.auug.org.au>
To: Greg KH <greg@kroah.com>, Arnd Bergmann <arnd@arndb.de>
Cc: linux-next@vger.kernel.org, linux-kernel@vger.kernel.org,
Sudeep Dutt <sudeep.dutt@intel.com>,
Ashutosh Dixit <ashutosh.dixit@intel.com>,
Caz Yokoyama <Caz.Yokoyama@intel.com>,
Dasaratharaman Chandramouli
<dasaratharaman.chandramouli@intel.com>,
Nikhil Rao <nikhil.rao@intel.com>,
Harshavardhan R Kharche <harshavardhan.r.kharche@intel.com>
Subject: linux-next: build failure after merge of the final tree (char-misc tree related)
Date: Fri, 27 Sep 2013 18:48:04 +1000 [thread overview]
Message-ID: <20130927184804.ddb460377bcd3fb35f8b41d2@canb.auug.org.au> (raw)
[-- Attachment #1: Type: text/plain, Size: 9164 bytes --]
Hi all,
After merging the final tree, today's linux-next build (powerpc
allyesconfig) failed like this:
drivers/misc/mic/card/mic_x100.c: In function 'mic_init':
drivers/misc/mic/card/mic_x100.c:215:9: error: implicit declaration of function 'cpu_data' [-Werror=implicit-function-declaration]
struct cpuinfo_x86 *c = &cpu_data(0);
^
drivers/misc/mic/card/mic_x100.c:215:26: error: lvalue required as unary '&' operand
struct cpuinfo_x86 *c = &cpu_data(0);
^
drivers/misc/mic/card/mic_x100.c:217:9: error: dereferencing pointer to incomplete type
if (!(c->x86 == 11 && c->x86_model == 1)) {
^
drivers/misc/mic/card/mic_x100.c:217:25: error: dereferencing pointer to incomplete type
if (!(c->x86 == 11 && c->x86_model == 1)) {
^
In file included from drivers/misc/mic/host/mic_device.h:27: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:164: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:178:2: error: implicit declaration of function 'iowrite32' [-Werror=implicit-function-declaration]
iowrite32(val, mw->va + offset);
^
In file included from arch/powerpc/include/asm/io.h:37:0,
from arch/powerpc/include/asm/dma.h:21,
from arch/powerpc/include/asm/scatterlist.h:12,
from include/linux/scatterlist.h:9,
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:164:9: note: previous implicit declaration of 'ioread32' was here
return ioread32(mw->va + offset);
^
In file included from arch/powerpc/include/asm/io.h:37:0,
from arch/powerpc/include/asm/dma.h:21,
from arch/powerpc/include/asm/scatterlist.h:12,
from include/linux/scatterlist.h:9,
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:178:2: note: previous implicit declaration of 'iowrite32' was here
iowrite32(val, mw->va + offset);
^
drivers/misc/mic/host/mic_x100.c: In function 'mic_x100_load_ramdisk':
drivers/misc/mic/host/mic_x100.c:402:49: error: dereferencing pointer to incomplete type
iowrite32(cpu_to_le32(mdev->bootaddr << 1), &bp->hdr.ramdisk_image);
^
drivers/misc/mic/host/mic_x100.c:403:38: error: dereferencing pointer to incomplete type
iowrite32(cpu_to_le32(fw->size), &bp->hdr.ramdisk_size);
^
drivers/misc/mic/host/mic_debugfs.c: In function 'mic_log_buf_show':
drivers/misc/mic/host/mic_debugfs.c:55:51: error: '__START_KERNEL_map' undeclared (first use in this function)
aper_offset = (unsigned long)mdev->log_buf_len - __START_KERNEL_map;
^
drivers/misc/mic/host/mic_debugfs.c:55:51: note: each undeclared identifier is reported only once for each function it appears in
In file included from drivers/misc/mic/host/mic_device.h:27:0,
from drivers/misc/mic/host/mic_fops.c:25:
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_fops.c:25:0:
drivers/misc/mic/host/mic_device.h: In function 'mic_mmio_read':
drivers/misc/mic/host/mic_device.h:164: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:178:2: error: implicit declaration of function 'iowrite32' [-Werror=implicit-function-declaration]
iowrite32(val, mw->va + offset);
^
make[5]: *** [drivers/misc/mic/host/mic_debugfs.o] Error 1
In file included from arch/powerpc/include/asm/io.h:37:0,
from arch/powerpc/include/asm/dma.h:21,
from arch/powerpc/include/asm/scatterlist.h:12,
from include/linux/scatterlist.h:9,
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_fops.c:27:
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_fops.c:25:0:
drivers/misc/mic/host/mic_device.h:164:9: note: previous implicit declaration of 'ioread32' was here
return ioread32(mw->va + offset);
^
In file included from arch/powerpc/include/asm/io.h:37:0,
from arch/powerpc/include/asm/dma.h:21,
from arch/powerpc/include/asm/scatterlist.h:12,
from include/linux/scatterlist.h:9,
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_fops.c:27:
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_fops.c:25:0:
drivers/misc/mic/host/mic_device.h:178:2: note: previous implicit declaration of 'iowrite32' was here
iowrite32(val, mw->va + offset);
^
I assume all that is the result of commit aa27badd8972 ("Intel MIC Card
Driver for X100 family") from the char-misc tree.
I have disabled that driver for today (that commit did not revert
cleanly):
From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Fri, 27 Sep 2013 18:38:55 +1000
Subject: [PATCH] disable broken Intel MIC Card Driver for X100 family for now
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
drivers/misc/mic/Kconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/misc/mic/Kconfig b/drivers/misc/mic/Kconfig
index d453768..aa9805a 100644
--- a/drivers/misc/mic/Kconfig
+++ b/drivers/misc/mic/Kconfig
@@ -5,6 +5,7 @@ config INTEL_MIC_HOST
depends on 64BIT && PCI
select VHOST_RING
default N
+ depends on BROKEN
help
This enables Host Driver support for the Intel Many Integrated
Core (MIC) family of PCIe form factor coprocessor devices that
@@ -26,6 +27,7 @@ config INTEL_MIC_CARD
depends on 64BIT
select VIRTIO
default N
+ depends on BROKEN
help
This enables card driver support for the Intel Many Integrated
Core (MIC) device family. The card driver communicates shutdown/
--
1.8.4.rc3
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]
next reply other threads:[~2013-09-27 8:48 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-27 8:48 Stephen Rothwell [this message]
2013-09-28 1:04 ` Greg KH
2014-03-03 8:39 Stephen Rothwell
2014-03-03 8:45 Stephen Rothwell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130927184804.ddb460377bcd3fb35f8b41d2@canb.auug.org.au \
--to=sfr@canb.auug.org.au \
--cc=Caz.Yokoyama@intel.com \
--cc=arnd@arndb.de \
--cc=ashutosh.dixit@intel.com \
--cc=dasaratharaman.chandramouli@intel.com \
--cc=greg@kroah.com \
--cc=harshavardhan.r.kharche@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-next@vger.kernel.org \
--cc=nikhil.rao@intel.com \
--cc=sudeep.dutt@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®