linux/arch/sparc/prom
Sam Ravnborg 5f66dd35b4 sparc: fix sparse warnings in arch/sparc/prom for 32 bit build
Fix following sparse warnings:
arch/sparc/prom/bootstr_32.c:32:35: warning: Using plain integer as NULL pointer
arch/sparc/prom/memory.c:61:13: warning: symbol 'prom_meminit' was not declared. Should it be static?
arch/sparc/prom/misc_32.c:74:1: error: symbol 'prom_halt' redeclared with different type (originally declared at arch/sparc/include/asm/oplib_32.h:67) - different modifiers
arch/sparc/prom/ranges.c:16:26: warning: symbol 'promlib_obio_ranges' was not declared. Should it be static?
arch/sparc/prom/ranges.c:17:5: warning: symbol 'num_obio_ranges' was not declared. Should it be static?
arch/sparc/prom/ranges.c:39:1: warning: symbol 'prom_adjust_ranges' was not declared. Should it be static?
arch/sparc/prom/ranges.c:69:13: warning: symbol 'prom_ranges_init' was not declared. Should it be static?
arch/sparc/prom/tree_32.c:286:22: warning: Using plain integer as NULL pointer
arch/sparc/prom/tree_32.c:286:38: warning: Using plain integer as NULL pointer

None of the warnings indicated any serious issues.

We are now sparse clean for 32 bit build in arch/sparc/prom.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-01-03 12:15:12 -08:00
..
bootstr_32.c sparc: fix sparse warnings in arch/sparc/prom for 32 bit build 2011-01-03 12:15:12 -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: prom: Sanitize return value from prom_nbputchar() 2010-12-12 14:50:42 -08:00
console_64.c sparc: Eliminate prom_stdin. 2010-12-12 14:57:53 -08:00
init_32.c of/sparc: convert various prom_* functions to use phandle 2010-10-09 02:33:34 -06:00
init_64.c sparc: Eliminate prom_stdin. 2010-12-12 14:57:53 -08:00
Makefile sparc: drop prom/palloc.c 2011-01-02 22:19:38 -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: fix sparse warnings in arch/sparc/prom for 32 bit build 2011-01-03 12:15:12 -08:00
misc_64.c sparc64: Delete prom_setcallback(). 2010-11-16 12:50:19 -08:00
mp.c sparc: remove unused prom cpu functions 2011-01-02 22:19:39 -08:00
p1275.c Fix IRQ flag handling naming 2010-10-07 14:08:55 +01:00
printf.c sparc: Write to prom console using indirect buffer. 2010-11-30 20:15:58 -08:00
ranges.c sparc: fix sparse warnings in arch/sparc/prom for 32 bit build 2011-01-03 12:15:12 -08:00
segment.c sparc: remove redundant return statements 2010-02-10 11:47:57 -08:00
tree_32.c sparc: fix sparse warnings in arch/sparc/prom for 32 bit build 2011-01-03 12:15:12 -08:00
tree_64.c sparc: Remove prom_pathtoinode() 2010-11-16 12:11:15 -08:00