sparc64: Fix sparse warnings in prom.c
authorDavid S. Miller <davem@davemloft.net>
Fri, 12 Sep 2008 06:52:35 +0000 (23:52 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 12 Sep 2008 06:52:35 +0000 (23:52 -0700)
commitc91e2ecad0a392604ece6e53d38b484918060825
treebd59a2a178be2df930f9d7257ea047f7b7311fbe
parent7e0b1e6186c755becf8b19c844c63db1a551898b
sparc64: Fix sparse warnings in prom.c

1) Testing null with '0'
2) returning void-valued expression

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/kernel/prom.c