All of lore.kernel.org
 help / color / mirror / Atom feed
* [Linux-ia64] ELI uninitialized variable bug
@ 2000-06-30 12:24 Andreas Schwab
  0 siblings, 0 replies; only message in thread
From: Andreas Schwab @ 2000-06-30 12:24 UTC (permalink / raw)
  To: linux-ia64

This patch fixes an uninitialized variable in eli-0.4.0, when no initrd
was requested.

--- eli-0.4.0/eli.c
+++ eli-0.4.0/eli.c	2000/06/30 10:06:36
@@ -1242,6 +1242,9 @@
 		case EFI_LOAD_ERROR:
 			goto free_kernel_image;
 		}
+	} else {
+		initrd.start_addr = 0;
+		initrd.pages = 0;
 	}
 
 	/* Must free the ACPI before creating the boot params so the */

Andres.

-- 
Andreas Schwab                                  "And now for something
SuSE Labs                                        completely different."
Andreas.Schwab@suse.de
SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-06-30 12:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-06-30 12:24 [Linux-ia64] ELI uninitialized variable bug Andreas Schwab

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.