mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: nevee <nevee@supercomputing.pl>
To: linux-kernel@vger.kernel.org
Subject: PROBLEM: conflicting types for ‘sn_dma_flush’
Date: Tue, 20 Apr 2010 15:16:02 +0200	[thread overview]
Message-ID: <4BCDA912.3070406@supercomputing.pl> (raw)

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

             reply	other threads:[~2010-04-20 13:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-20 13:16 nevee [this message]
  -- strict thread matches above, loose matches on Subject: below --
2010-04-20  9:31 nevee

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=4BCDA912.3070406@supercomputing.pl \
    --to=nevee@supercomputing.pl \
    --cc=linux-kernel@vger.kernel.org \
    /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

Powered by JetHome