linux/arch/sparc/prom
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
..
bootstr_32.c sparc: prepare prom/ for unification 2008-12-04 09:17:16 -08:00
bootstr_64.c sparc,sparc64: unify prom/ 2008-12-04 09:17:17 -08:00
cif.S sparc64: Get rid of indirect p1275 PROM call buffer. 2010-08-23 23:10:57 -07:00
console_32.c sparc: Write to prom console using indirect buffer. 2010-11-30 20:15:58 -08:00
console_64.c sparc: Write to prom console using indirect buffer. 2010-11-30 20:15:58 -08:00
devmap.c sparc: remove redundant return statements 2010-02-10 11:47:57 -08:00
init_32.c sparc: explicitly cast negative phandle checks to s32 2011-01-03 20:02:06 -07:00
init_64.c sparc: explicitly cast negative phandle checks to s32 2011-01-03 20:02:06 -07:00
Makefile sparc: Kill prom devops_{32,64}.c 2010-11-16 12:23:20 -08:00
memory.c of/sparc: convert various prom_* functions to use phandle 2010-10-09 02:33:34 -06:00
misc_32.c sparc: move EXPORT_SYMBOL to the symbols definition 2009-01-08 16:58:05 -08:00
misc_64.c sparc64: Delete prom_setcallback(). 2010-11-16 12:50:19 -08:00
mp.c sparc: remove CVS keywords 2008-05-20 00:33:44 -07:00
p1275.c Fix IRQ flag handling naming 2010-10-07 14:08:55 +01:00
palloc.c sparc: remove redundant return statements 2010-02-10 11:47:57 -08:00
printf.c sparc: Write to prom console using indirect buffer. 2010-11-30 20:15:58 -08:00
ranges.c of/sparc: convert various prom_* functions to use phandle 2010-10-09 02:33:34 -06:00
segment.c sparc: remove redundant return statements 2010-02-10 11:47:57 -08:00
tree_32.c sparc: explicitly cast negative phandle checks to s32 2011-01-03 20:02:06 -07:00
tree_64.c sparc: explicitly cast negative phandle checks to s32 2011-01-03 20:02:06 -07:00