[PATCH v2 0/2] fix eficonfig GetNextVariableName calls handling

Masahisa Kojima masahisa.kojima at linaro.org
Mon Dec 19 03:33:11 CET 2022


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

After "eficonfig: carve 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: carve out efi_get_next_variable_name_int calls
  eficonfig: avoid SetVariable between GetNextVariableName calls

 cmd/eficonfig.c             | 114 ++++++++++++++++--------------------
 include/efi_loader.h        |   2 +
 lib/efi_loader/efi_helper.c |  34 +++++++++++
 3 files changed, 88 insertions(+), 62 deletions(-)

-- 
2.17.1



More information about the U-Boot mailing list