Commit 0dad9ee3 authored by Ard Biesheuvel's avatar Ard Biesheuvel
Browse files

efistub/smbios: Simplify SMBIOS enumeration API



Update the efi_get_smbios_string() macro to take a pointer to the entire
record struct rather than the header. This removes the need to pass the
type explicitly, as it can be inferred from the typed pointer. Also,
drop 'type' from the prototype of __efi_get_smbios_string(), as it is
never referenced.

Signed-off-by: default avatarArd Biesheuvel <ardb@kernel.org>
parent 37aee82c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment