* PROBLEM: conflicting types for ‘sn_dma_flush’
@ 2010-04-20 9:31 nevee
0 siblings, 0 replies; 2+ messages in thread
From: nevee @ 2010-04-20 9:31 UTC (permalink / raw
To: linux-kernel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* PROBLEM: conflicting types for ‘sn_dma_flush’
@ 2010-04-20 13:16 nevee
0 siblings, 0 replies; 2+ messages in thread
From: nevee @ 2010-04-20 13:16 UTC (permalink / raw
To: linux-kernel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-04-20 13:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-20 9:31 PROBLEM: conflicting types for ‘sn_dma_flush’ nevee
-- strict thread matches above, loose matches on Subject: below --
2010-04-20 13:16 nevee
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).