[PATCH] efi: payload: handle NULL return from loadable_view for ramdisk

Sascha Hauer s.hauer at pengutronix.de
Mon May 11 00:22:41 PDT 2026


On Thu, 07 May 2026 13:51:12 +0200, Ahmad Fatoum wrote:
> loadable_view() can return NULL (distinct from ERR_PTR), which is not
> caught by IS_ERR().
> 
> efi_load_os() already handles this with the ?: ERR_PTR(-ENODATA) pattern,
> so apply the same to efi_load_ramdisk().
> 
> 
> [...]

Applied, thanks!

[1/1] efi: payload: handle NULL return from loadable_view for ramdisk
      https://git.pengutronix.de/cgit/barebox/commit/?id=43a16ebe7493 (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer at pengutronix.de>




More information about the barebox mailing list