* [PATCH] ppc32: Fix use of uninitialized pointer in offb
@ 2004-09-24 0:30 Benjamin Herrenschmidt
0 siblings, 0 replies; only message in thread
From: Benjamin Herrenschmidt @ 2004-09-24 0:30 UTC (permalink / raw)
To: Andrew Morton; +Cc: Linus Torvalds, Linux Kernel list
Hi !
The recent ppc64 changes for offb introduced an uninitialized pointer
use for ppc32, here's the fix:
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
===== drivers/video/offb.c 1.32 vs edited =====
--- 1.32/drivers/video/offb.c 2004-09-23 17:36:23 +10:00
+++ edited/drivers/video/offb.c 2004-09-24 10:29:23 +10:00
@@ -246,7 +246,7 @@
int __init offb_init(void)
{
- struct device_node *dp, *boot_disp = NULL;
+ struct device_node *dp = NULL, *boot_disp = NULL;
#if defined(CONFIG_BOOTX_TEXT) && defined(CONFIG_PPC32)
struct device_node *macos_display = NULL;
#endif
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-09-24 0:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-24 0:30 [PATCH] ppc32: Fix use of uninitialized pointer in offb Benjamin Herrenschmidt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox