linux/arch/sparc
Andres Salomon 4a3a255289 sparc: explicitly cast negative phandle checks to s32
When we switched sparc from using 'int's to 'phandle's (which is a u32), we
neglected to do anything with the various checks for -1.  For those tests,
explicitly cast the phandles to s32.

Signed-off-by: Andres Salomon <dilinger@queued.net>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
2011-01-03 20:02:06 -07:00
..
boot Merge branch 'master' into for-next 2010-06-16 18:08:13 +02:00
configs defconfig reduction 2010-08-14 22:26:53 +02:00
include/asm Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6 2010-12-14 17:34:00 -08:00
kernel sparc: explicitly cast negative phandle checks to s32 2011-01-03 20:02:06 -07:00
lib sparc64: Make lock backoff really a NOP on UP builds. 2010-08-18 22:53:26 -07:00
math-emu Revert "endian: #define __BYTE_ORDER" 2010-05-26 08:30:15 -07:00
mm Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6 2010-10-29 08:03:48 -07:00
oprofile sparc: using HZ needs an include of linux/param.h 2009-10-05 00:46:08 -07:00
prom sparc: explicitly cast negative phandle checks to s32 2011-01-03 20:02:06 -07:00
Kconfig Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6 2010-10-29 08:03:48 -07:00
Kconfig.debug sparc: Kill user copy check code. 2010-08-09 00:45:46 -07:00
Makefile sparc: Set UTS_MACHINE correctly. 2009-12-05 17:17:55 -08:00