Re: [PATCH] efi/fdt: fix panic when no valid fdt found

2021-03-26 Thread Ard Biesheuvel
On Wed, 24 Mar 2021 at 15:54, Changbin Du wrote: > > setup_arch() would invoke efi_init()->efi_get_fdt_params(). If no > valid fdt found then initial_boot_params will be null. So we > should stop further fdt processing here. I encountered this > issue on risc-v. > > Signed-off-by: Changbin Du I'

[PATCH] efi/fdt: fix panic when no valid fdt found

2021-03-24 Thread Changbin Du
setup_arch() would invoke efi_init()->efi_get_fdt_params(). If no valid fdt found then initial_boot_params will be null. So we should stop further fdt processing here. I encountered this issue on risc-v. Signed-off-by: Changbin Du --- drivers/firmware/efi/fdtparams.c | 3 +++ 1 file changed, 3 i