Messages in this thread | | | Date | Tue, 20 Apr 2010 15:16:02 +0200 | From | nevee <> | Subject | PROBLEM: conflicting types for ‘sn dma flush’ |
| |
Hi guys, I had a problem in arch/ia64/include/asm/sn/io.h: ---------------------------------------------------------------------- arch/ia64/sn/pci/pcibr/pcibr_dma.c:237: error: conflicting types for ‘sn_dma_flush’ /tmp/linux-2.6.33.2/arch/ia64/include/asm/sn/io.h:21: error: previous declaration of ‘sn_dma_flush’ was here arch/ia64/sn/pci/pcibr/pcibr_dma.c:412: error: conflicting types for ‘sn_dma_flush’ /tmp/linux-2.6.33.2/arch/ia64/include/asm/sn/io.h:21: error: previous declaration of ‘sn_dma_flush’ was here CC arch/ia64/sn/kernel/huberror.o make[4]: *** [arch/ia64/sn/pci/pcibr/pcibr_dma.o] Error 1 make[3]: *** [arch/ia64/sn/pci/pcibr] Error 2 make[2]: *** [arch/ia64/sn/pci] Error 2 make[2]: *** Waiting for unfinished jobs.... ----------------------------------------------------------------------
Tested versions: 2.6.32.11, 2.6.33.2 also 2.6.34-rc5
arch/ia64/include/asm/sn/io.h:21:
extern void sn_dma_flush(unsigned long);
should be:
extern void sn_dma_flush(unsigned long long);
for:
arch/ia64/sn/pci/pcibr/pcibr_dma.c:237:
void sn_dma_flush(u64 addr) {...}
After this change, works fine. Cheers, nevee -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |