diff options
author | Tom Rini | 2022-03-27 09:22:19 -0400 |
---|---|---|
committer | Tom Rini | 2022-03-27 09:22:19 -0400 |
commit | c259b197f6f8a4b1d33700e0b9202781fb8ce737 (patch) | |
tree | 7e577aaf7d3f19b6eeffd977f47fdd4f8984ed12 /cmd | |
parent | 28c2ebef372b4c9bb18bed8373e0d9e65a09b42b (diff) | |
parent | ccc41fcfaf33356f7789c8bd50551a9e37507f2d (diff) |
Merge tag 'efi-2022-04-rc5-2' of https://source.denx.de/u-boot/custodians/u-boot-efi
Pull request for efi-2022-04-rc5-2
Documentation:
* man-page for the wdt command
UEFI:
* Unit test for boot manager
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/efidebug.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cmd/efidebug.c b/cmd/efidebug.c index 51e2850d218..3cc6f2bfcca 100644 --- a/cmd/efidebug.c +++ b/cmd/efidebug.c @@ -810,7 +810,7 @@ static int do_efi_boot_add(struct cmd_tbl *cmdtp, int flag, efi_guid_t guid; size_t label_len, label_len16; u16 *label; - struct efi_device_path *device_path = NULL, *file_path = NULL; + struct efi_device_path *file_path = NULL; struct efi_device_path *fp_free = NULL; struct efi_device_path *final_fp = NULL; struct efi_device_path *initrd_dp = NULL; @@ -865,7 +865,7 @@ static int do_efi_boot_add(struct cmd_tbl *cmdtp, int flag, /* file path */ ret = efi_dp_from_name(argv[3], argv[4], argv[5], - &device_path, &fp_free); + NULL, &fp_free); if (ret != EFI_SUCCESS) { printf("Cannot create device path for \"%s %s\"\n", argv[3], argv[4]); @@ -953,7 +953,6 @@ out: free(data); efi_free_pool(final_fp); efi_free_pool(initrd_dp); - efi_free_pool(device_path); efi_free_pool(fp_free); free(lo.label); |