For the error patch to not see it uninitialized.

Fixes: 560c2a5584c4 ("mini-os: kexec: do the final kexec step")
Signed-off-by: Jan Beulich <jbeul...@suse.com>
---
In the meantime I'll revert the MiniOS commit update in the main tree.

--- a/kexec.c
+++ b/kexec.c
@@ -168,7 +168,7 @@ int kexec(void *kernel, unsigned long kernel_size, const 
char *cmdline)
 {
     int ret;
     unsigned long *func;
-    void *kexec_page;
+    void *kexec_page = NULL;
 
     ret = analyze_kernel(kernel, kernel_size);
     if ( ret )

Reply via email to