lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <4BCDA912.3070406@supercomputing.pl>
Date:	Tue, 20 Apr 2010 15:16:02 +0200
From:	nevee <nevee@...ercomputing.pl>
To:	linux-kernel@...r.kernel.org
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@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ