summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2024-07-01 19:29:59 +0300
committerArd Biesheuvel <ardb@kernel.org>2024-07-02 01:42:04 +0300
commit0dad9ee3c13930fe8122f2efc936fcd1c277a00d (patch)
treeef5363566fa196b9d33e68743cee7b706e5e53ab /arch/x86/include/asm
parent37aee82c213d352dccb850dc4228dda2e7e591b1 (diff)
downloadlinux-0dad9ee3c13930fe8122f2efc936fcd1c277a00d.tar.xz
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: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'arch/x86/include/asm')
0 files changed, 0 insertions, 0 deletions