]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[POWERPC] Fix warning in prom_parse.c of_irq_map_oldworld()
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 7 Mar 2007 10:27:37 +0000 (11:27 +0100)
committerPaul Mackerras <paulus@samba.org>
Wed, 7 Mar 2007 17:09:33 +0000 (04:09 +1100)
commit84532c91206bc6748991fb1ae3ba8a1894d339fa
treef0c4f6a8bb573eff746c32a86a8112c398712601
parent8388374f1cd45ef67039d3ea128d250fac484df3
[POWERPC] Fix warning in prom_parse.c of_irq_map_oldworld()

This function spews a warning due to possible use of an uninitialized
variable. This can happen on broken device-trees or when called with
a NULL argument. Makes ure we properly fail instead.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/prom_parse.c