Skip to content

Commit

Permalink
efi: Don't use knowledge about efi_guid_t internals
Browse files Browse the repository at this point in the history
When print GUIDs supply pointer to the efi_guid_t (guid_t) type rather
its internal members.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Serge Hallyn <serge@hallyn.com>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
  • Loading branch information
Andy Shevchenko authored and Ard Biesheuvel committed Aug 27, 2021
1 parent 5eff88d commit b31eea2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion security/integrity/platform_certs/efi_parser.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ int __init parse_efi_signature_list(
memcpy(&list, data, sizeof(list));
pr_devel("LIST[%04x] guid=%pUl ls=%x hs=%x ss=%x\n",
offs,
list.signature_type.b, list.signature_list_size,
&list.signature_type, list.signature_list_size,
list.signature_header_size, list.signature_size);

lsize = list.signature_list_size;
Expand Down

0 comments on commit b31eea2

Please sign in to comment.