boot: fix assignment of ret_* variables in initrd_prepare()
This commit is contained in:
committed by
Luca Boccassi
parent
82efe05c01
commit
e2fe5c4b98
+3
-3
@@ -2255,9 +2255,9 @@ static EFI_STATUS initrd_prepare(
|
||||
assert(ret_initrd_size);
|
||||
|
||||
if (entry->type != LOADER_LINUX || !entry->initrd) {
|
||||
ret_options = NULL;
|
||||
ret_initrd = NULL;
|
||||
ret_initrd_size = 0;
|
||||
*ret_options = NULL;
|
||||
*ret_initrd = NULL;
|
||||
*ret_initrd_size = 0;
|
||||
return EFI_SUCCESS;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user