All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/8] efi_loader: simplify printing GUIDs
@ 2022-01-16 15:14 Heinrich Schuchardt
  2022-01-16 15:14 ` [PATCH 1/8] lib: compile uuid_guid_get_str if CONFIG_LIB_UUID=y Heinrich Schuchardt
                   ` (7 more replies)
  0 siblings, 8 replies; 21+ messages in thread
From: Heinrich Schuchardt @ 2022-01-16 15:14 UTC (permalink / raw)
  To: Tom Rini
  Cc: Simon Glass, Rasmus Villemoes, Patrick Delaunay, u-boot,
	Heinrich Schuchardt

In different places text representations are used for GUIDs, e.g.
    
* command efidebug
* command printenv -e
* command part list for GPT partitions

Introduce a new printf code %pUs and use it to deduplicate the coding.

Heinrich Schuchardt (8):
  lib: compile uuid_guid_get_str if CONFIG_LIB_UUID=y
  lib: printf code %pUs for GUID text representation
  disk: simplify part_print_efi()
  sandbox: imply PARTITION_TYPE_GUID
  test: add test for %pUs
  cmd: efidebug: simplify printing GUIDs
  efi_loader: user %pUs for printing GUIDs
  cmd: printenv: simplify printing GUIDs

 arch/Kconfig                      |   1 +
 cmd/efidebug.c                    | 160 +-----------------------------
 cmd/nvedit_efi.c                  |  39 +-------
 disk/part_efi.c                   |  21 ++--
 include/efi_api.h                 |   8 ++
 include/efi_dt_fixup.h            |   4 -
 include/efi_rng.h                 |   4 -
 lib/efi_loader/efi_boottime.c     |  26 ++---
 lib/efi_loader/efi_capsule.c      |   6 +-
 lib/efi_loader/efi_esrt.c         |   6 +-
 lib/efi_loader/efi_file.c         |   4 +-
 lib/efi_loader/efi_hii.c          |  14 +--
 lib/efi_loader/efi_hii_config.c   |   2 +-
 lib/efi_loader/efi_image_loader.c |   2 +-
 lib/efi_loader/efi_rng.c          |   2 +-
 lib/efi_loader/efi_signature.c    |   2 +-
 lib/efi_loader/efi_var_common.c   |   6 +-
 lib/uuid.c                        | 144 ++++++++++++++++++++++++++-
 lib/vsprintf.c                    |  11 +-
 test/print_ut.c                   |  20 +++-
 20 files changed, 226 insertions(+), 256 deletions(-)

-- 
2.33.1


^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2022-01-25  0:19 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-16 15:14 [PATCH 0/8] efi_loader: simplify printing GUIDs Heinrich Schuchardt
2022-01-16 15:14 ` [PATCH 1/8] lib: compile uuid_guid_get_str if CONFIG_LIB_UUID=y Heinrich Schuchardt
2022-01-21 15:20   ` Simon Glass
2022-01-16 15:14 ` [PATCH 2/8] lib: printf code %pUs for GUID text representation Heinrich Schuchardt
2022-01-18  2:48   ` AKASHI Takahiro
2022-01-16 15:14 ` [PATCH 3/8] disk: simplify part_print_efi() Heinrich Schuchardt
2022-01-21 15:20   ` Simon Glass
2022-01-16 15:14 ` [PATCH 4/8] sandbox: imply PARTITION_TYPE_GUID Heinrich Schuchardt
2022-01-21 15:20   ` Simon Glass
2022-01-16 15:14 ` [PATCH 5/8] test: add test for %pUs Heinrich Schuchardt
2022-01-21 15:20   ` Simon Glass
2022-01-16 15:14 ` [PATCH 6/8] cmd: efidebug: simplify printing GUIDs Heinrich Schuchardt
2022-01-21 15:20   ` Simon Glass
2022-01-21 16:03     ` Heinrich Schuchardt
2022-01-21 16:53       ` Simon Glass
2022-01-24  7:23       ` AKASHI Takahiro
2022-01-24  8:25         ` Heinrich Schuchardt
2022-01-25  0:19           ` AKASHI Takahiro
2022-01-16 15:14 ` [PATCH 7/8] efi_loader: user %pUs for " Heinrich Schuchardt
2022-01-21 15:20   ` Simon Glass
2022-01-16 15:14 ` [PATCH 8/8] cmd: printenv: simplify " Heinrich Schuchardt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.