diff options
| author | Adriano Cordova <[email protected]> | 2025-04-29 09:27:55 -0400 |
|---|---|---|
| committer | Heinrich Schuchardt <[email protected]> | 2025-05-01 09:19:24 +0200 |
| commit | 24600fd06801a23151dfc309867278212e775f65 (patch) | |
| tree | 4d3b1b47ad3d146b07a176250d986c2ce9f5fec3 /include/linux | |
| parent | a4af308e4acdcf0840226fc4f631e3aa0326699a (diff) | |
efi_loader: bootbin: do not load an initrd if none is provided
Do not try to create an initrd device path nor try to register
an initrd with the EFI_LOAD_FILE2_PROTOCOL if none is provided.
Handle initrd installation in efi_binary_run_dp with
efi_install_initrd, imitating what is done for the fdt.
Fixes: 36835a9105c ("efi_loader: binary_run: register an initrd")
Reported-by: Weizhao Ouyang <[email protected]>
Signed-off-by: Adriano Cordova <[email protected]>
Tested-by: Weizhao Ouyang <[email protected]>
Reviewed-by: Ilias Apalodimas <[email protected]>
Reviewed-by: Heinrich Schuchardt <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
