[PATCH 0/2] fix eficonfig GetNextVariableName calls handling

Masahisa Kojima masahisa.kojima at linaro.org
Thu Dec 8 14:40:20 CET 2022


This series includes refactoring and bugfix of GetNextVariableName
calls in eficonfig.

After "eficonfig: curve out efi_get_next_variable_name_int calls" patch
is merged, I will send the follow-up patch to use common function in
cmd/efidebug.c and cmd/nvedit_efi.c. These files also implement
alloc -> efi_get_next_variable_name_int -> realloc ->
efi_get_next_variable_name_int sequence.

Masahisa Kojima (2):
  eficonfig: curve out efi_get_next_variable_name_int calls
  eficonfig: avoid SetVariable between GetNextVariableName calls

 cmd/eficonfig.c             | 119 ++++++++++++++++++------------------
 include/efi_loader.h        |   2 +
 lib/efi_loader/efi_helper.c |  34 +++++++++++
 3 files changed, 95 insertions(+), 60 deletions(-)

-- 
2.17.1



More information about the U-Boot mailing list