linux/arch/ppc64
Paul Mackerras 3892c5fa94 [PATCH] ppc64: fix prom.c compile warning
The code in unflatten_device_tree knows that get_property is written to
only return with lenp equal to 1 when also returning a valid pointer.
The gcc 3.3.3 compiler is not able to prove this to itself, so it warns
about a possible uninitialized pointer dereference:

 .../arch/ppc64/kernel/prom.c: In function `unflatten_device_tree':
 .../arch/ppc64/kernel/prom.c:828:
 warning: `p' might be used uninitialized in this function

Unless it is desired to rework the interaction between the two
functions, this will keep the existing behavior but quiet the compiler.

Signed-off-by: Amos Waterland <apw@us.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-05-05 22:00:52 -07:00
..
boot [PATCH] ppc64: tell firmware about kernel capabilities 2005-05-01 08:58:45 -07:00
configs Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
kernel [PATCH] ppc64: fix prom.c compile warning 2005-05-05 22:00:52 -07:00
lib Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mm [PATCH] ppc64: pgtable.h and other header cleanups 2005-05-05 16:36:32 -07:00
oprofile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xmon [PATCH] ppc-opc NULL noise removal 2005-04-26 07:43:41 -07:00
defconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Kconfig [PATCH] ppc64: remove hidden -fno-omit-frame-pointer for schedule.c 2005-05-05 16:36:32 -07:00
Kconfig.debug [PATCH] ppc64: add missing Kconfig help text 2005-05-05 16:36:32 -07:00
Makefile [PATCH] ppc64: fix gcc 4.0 vs CONFIG_ALTIVEC 2005-05-03 07:38:34 -07:00