diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2024-12-19 10:53:23 +0100 |
---|---|---|
committer | Ard Biesheuvel <ardb@kernel.org> | 2025-01-14 08:34:25 +0100 |
commit | c14bca3f7aa94fd8d3f5e621ce5b56535ef2396b (patch) | |
tree | cb9f0d9d43dad5727bbc521770bb0ef54517da37 /drivers/watchdog | |
parent | 144d52dd8fc83a082a275e1b663e7454d2b616a4 (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/watchdog')
0 files changed, 0 insertions, 0 deletions