[PATCH 6/8] cmd: efidebug: simplify printing GUIDs

Simon Glass sjg at chromium.org
Fri Jan 21 16:20:46 CET 2022


Hi Heinrich,

On Sun, 16 Jan 2022 at 08:14, Heinrich Schuchardt
<heinrich.schuchardt at canonical.com> wrote:
>
> Use "%pS" to print text representations of GUIDs.
>
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
> ---
>  cmd/efidebug.c         | 160 ++---------------------------------------
>  include/efi_api.h      |   8 +++
>  include/efi_dt_fixup.h |   4 --
>  include/efi_rng.h      |   4 --
>  lib/uuid.c             | 116 ++++++++++++++++++++++++++++++
>  5 files changed, 128 insertions(+), 164 deletions(-)
>

Does this blow up the image size? These strings only in the debug side before.

Having said that, I would much rather see a string than a guid, which
I consider to be little more than an obfuscation.

Regards,
Simon


More information about the U-Boot mailing list