diff options
author | 2024-03-28 21:50:30 +0100 | |
---|---|---|
committer | 2024-03-29 08:36:52 +0100 | |
commit | 24427cda90cbbb9015c73e2dd3329a116a00c8de (patch) | |
tree | 212e1663ec17eddd52b05b05e968589a39cb9baa /scripts/generate_rust_analyzer.py | |
parent | Linux 6.9-rc1 (diff) | |
download | wireguard-linux-24427cda90cbbb9015c73e2dd3329a116a00c8de.tar.xz wireguard-linux-24427cda90cbbb9015c73e2dd3329a116a00c8de.zip |
efi: pstore: Request at most 512 bytes for variable names
Work around a quirk in a few old (2011-ish) UEFI implementations, where
a call to `GetNextVariableName` with a buffer size larger than 512 bytes
will always return EFI_INVALID_PARAMETER.
This was already done to efivarfs in commit f45812cc23fb ("efivarfs:
Request at most 512 bytes for variable names"), but the second copy of
the variable iteration implementation was overlooked.
Signed-off-by: Tim Schumacher <timschumi@gmx.de>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions