diff options
author | Johan Hovold <[email protected]> | 2023-01-19 17:42:55 +0100 |
---|---|---|
committer | Ard Biesheuvel <[email protected]> | 2023-01-26 21:32:01 +0100 |
commit | 0217a40d7ba6e71d7f3422fbe89b436e8ee7ece7 (patch) | |
tree | 26e476b53d71dddd017a86f432b94e0b4a0099f1 /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | bad267f9e18f8e9e628abd1811d2899b1735a4e1 (diff) |
efi: efivars: prevent double registration
Add the missing sanity check to efivars_register() so that it is no
longer possible to override an already registered set of efivar ops
(without first deregistering them).
This can help debug initialisation ordering issues where drivers have so
far unknowingly been relying on overriding the generic ops.
Signed-off-by: Johan Hovold <[email protected]>
Signed-off-by: Ard Biesheuvel <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions