commit | 173cd9e73ad833bf479cc5b400de5ca738ef7510 | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Tue Jan 07 06:02:33 2020 +0100 |
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | Tue Jan 07 18:08:20 2020 +0100 |
tree | 2b727fddb47045daa207d4764e68f6218400a64b | |
parent | 7b31efc54c3fba33d1305a0f9b730472bb0f63eb [diff] |
cmd: efidebug: simplify get_guid_text() When we hit a matching GUID we can directly return the text. There is no need for a check after the loop. efi_guid_t is defined as 8 byte aligned but GUIDs in packed structures do not follow this alignment. Do not require the argument of get_guid_text() to be correctly aligned. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>