Skip to content

Commit b31eea2

Browse files
andy-shevardbiesheuvel
authored andcommitted
efi: Don't use knowledge about efi_guid_t internals
When print GUIDs supply pointer to the efi_guid_t (guid_t) type rather its internal members. Signed-off-by: Andy Shevchenko <[email protected]> Reviewed-by: Serge Hallyn <[email protected]> Signed-off-by: Ard Biesheuvel <[email protected]>
1 parent 5eff88d commit b31eea2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

security/integrity/platform_certs/efi_parser.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ int __init parse_efi_signature_list(
5555
memcpy(&list, data, sizeof(list));
5656
pr_devel("LIST[%04x] guid=%pUl ls=%x hs=%x ss=%x\n",
5757
offs,
58-
list.signature_type.b, list.signature_list_size,
58+
&list.signature_type, list.signature_list_size,
5959
list.signature_header_size, list.signature_size);
6060

6161
lsize = list.signature_list_size;

0 commit comments

Comments
 (0)