[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>

authored by Benjamin Herrenschmidt and committed by Paul Mackerras 84532c91 8388374f

+1 -1
+1 -1
arch/powerpc/kernel/prom_parse.c
··· 916 916 static int of_irq_map_oldworld(struct device_node *device, int index, 917 917 struct of_irq *out_irq) 918 918 { 919 - const u32 *ints; 919 + const u32 *ints = NULL; 920 920 int intlen; 921 921 922 922 /*