]> err.no Git - linux-2.6/commit
[SPARC32]: Fix prom.c build warning
authorMartin Habets <errandir_news@mph.eclipse.co.uk>
Tue, 10 Oct 2006 01:10:16 +0000 (18:10 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 10 Oct 2006 01:10:16 +0000 (18:10 -0700)
commit078830eaa8abccd1e95d3effce5b29273bb5ed09
tree500cb8fdfef241f81594cbf0b2eb64209cb6e280
parent79bf06248b69b937f3a917281b4a8520a66c7582
[SPARC32]: Fix prom.c build warning

Fix these 2.6.19-rc1 build warnings:

  CC      arch/sparc/kernel/prom.o
arch/sparc/kernel/prom.c: In function `of_set_property':
arch/sparc/kernel/prom.c:246: warning: passing arg 2 of `prom_setprop' discards qualifiers from pointer target type
arch/sparc/kernel/prom.c: In function `build_one_prop':
arch/sparc/kernel/prom.c:446: warning: unused variable `len'
arch/sparc/kernel/prom.c:480: warning: ignoring return value of `prom_getproperty', declared with attribute warn_unused_result

Signed-off-by: Martin Habets <errandir_news@mph.eclipse.co.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/prom.c