diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2021-02-09 19:45:06 +0300 |
---|---|---|
committer | Ard Biesheuvel <ardb@kernel.org> | 2021-08-27 17:01:27 +0300 |
commit | b31eea2e04c1002e5cb864eefdc718b70d2cb08c (patch) | |
tree | b785c4389931ab8f2668fd8466d70946e011d371 /security | |
parent | 5eff88dd6b4badd664d7d3b648103d540b390248 (diff) | |
download | linux-b31eea2e04c1002e5cb864eefdc718b70d2cb08c.tar.xz |
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 <andriy.shevchenko@linux.intel.com>
Reviewed-by: Serge Hallyn <serge@hallyn.com>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'security')
-rw-r--r-- | security/integrity/platform_certs/efi_parser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/integrity/platform_certs/efi_parser.c b/security/integrity/platform_certs/efi_parser.c index 18f01f36fe6a..d98260f8402a 100644 --- a/security/integrity/platform_certs/efi_parser.c +++ b/security/integrity/platform_certs/efi_parser.c @@ -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; |