efi: Don't use knowledge about efi_guid_t internals
Subsystems (4)
PATCH 1/1 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.
--- security/integrity/platform_certs/efi_parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
security/integrity/platform_certs/efi_parser.c +1 -1
@@ -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;
Signature · 1 line
2.30.0
Quoted 5 lines · Andy Shevchenko
When print GUIDs supply pointer to the
efi_guid_t(guid_t) type rather its internal members.Signed-off-by Andy Shevchenko <[email protected]>
Quoted 20 lines
--- security/integrity/platform_certs/efi_parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)security/integrity/platform_certs/efi_parser.c +1
-2@@ -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; --2.30.0
Quoted 9 lines · Ard Biesheuvel
Quoted 5 lines · Andy Shevchenko
When print GUIDs supply pointer to the
efi_guid_t(guid_t) type rather its internal members.Signed-off-by Andy Shevchenko <[email protected]>Acked-by Ard Biesheuvel <[email protected]>
Thanks!
Can we get this applied, please?
Signature · 2 lines
With Best Regards, Andy Shevchenko
Quoted 8 lines · Andy Shevchenko
Quoted 6 lines · Ard Biesheuvel
Quoted 4 lines · Andy Shevchenko
When print GUIDs supply pointer to the
efi_guid_t(guid_t) type rather its internal members.
Quoted 8 lines
Quoted 3 lines
Quoted 1 line
Signed-off-by Andy Shevchenko <[email protected]>Acked-by Ard Biesheuvel <[email protected]>Thanks!
Can we get this applied, please?
Apologies, this one slipped behind the desk.
Quoted 11 lines · Ard Biesheuvel
Quoted 9 lines · Andy Shevchenko
Quoted 8 lines · Ard Biesheuvel
Quoted 5 lines · Andy Shevchenko
When print GUIDs supply pointer to the
efi_guid_t(guid_t) type rather its internal members.Signed-off-by Andy Shevchenko <[email protected]>
Quoted 7 lines
Quoted 5 lines
Quoted 1 line
Acked-by Ard Biesheuvel <[email protected]>Thanks!
Can we get this applied, please?
Apologies, this one slipped behind the desk.
Do I need to resend it?
Signature · 2 lines
With Best Regards, Andy Shevchenko
Quoted 15 lines · Andy Shevchenko
Quoted 13 lines · Ard Biesheuvel
Quoted 11 lines · Andy Shevchenko
Quoted 9 lines · Ard Biesheuvel
Quoted 5 lines · Andy Shevchenko
When print GUIDs supply pointer to the
efi_guid_t(guid_t) type rather its internal members.Signed-off-by Andy Shevchenko <[email protected]>Acked-by Ard Biesheuvel <[email protected]>
Quoted 8 lines
Quoted 5 lines
Quoted 3 lines
Thanks!
Can we get this applied, please?
Apologies, this one slipped behind the desk.
Do I need to resend it?
No, but I need an ack from James or Serge as it targets security/
Quoted 19 lines · Ard Biesheuvel
Quoted 17 lines · Andy Shevchenko
Quoted 15 lines · Ard Biesheuvel
Quoted 13 lines · Andy Shevchenko
Quoted 9 lines · Ard Biesheuvel
Quoted 5 lines · Andy Shevchenko
When print GUIDs supply pointer to the
efi_guid_t(guid_t) type rather its internal members.Signed-off-by Andy Shevchenko <[email protected]>Acked-by Ard Biesheuvel <[email protected]>Thanks!
Quoted 8 lines
Quoted 6 lines
Quoted 3 lines
Quoted 1 line
Can we get this applied, please?
Apologies, this one slipped behind the desk.
Do I need to resend it?
No, but I need an ack from James or Serge as it targets
security/
It looks correct to me, based on Documentation/core-api/printk-formats.rst and existing examples.
thanks
-serge