summaryrefslogtreecommitdiff
path: root/drivers/pnp
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2024-12-19 10:53:23 +0100
committerArd Biesheuvel <ardb@kernel.org>2025-01-14 08:34:25 +0100
commitc14bca3f7aa94fd8d3f5e621ce5b56535ef2396b (patch)
treecb9f0d9d43dad5727bbc521770bb0ef54517da37 /drivers/pnp
parent144d52dd8fc83a082a275e1b663e7454d2b616a4 (diff)
efi/libstub: Use C99-style for loop to traverse handle buffer
Tweak the for_each_efi_handle() macro in order to avoid the need on the part of the caller to provide a loop counter variable. Also move efi_get_handle_num() to the callers, so that each occurrence can be replaced with the actual number returned by the simplified LocateHandleBuffer API. Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'drivers/pnp')
0 files changed, 0 insertions, 0 deletions