diff options
author | Johan Hovold <johan+linaro@kernel.org> | 2023-01-19 19:42:55 +0300 |
---|---|---|
committer | Ard Biesheuvel <ardb@kernel.org> | 2023-01-26 23:32:01 +0300 |
commit | 0217a40d7ba6e71d7f3422fbe89b436e8ee7ece7 (patch) | |
tree | 26e476b53d71dddd017a86f432b94e0b4a0099f1 /tools/perf/scripts/python/stackcollapse.py | |
parent | bad267f9e18f8e9e628abd1811d2899b1735a4e1 (diff) | |
download | linux-0217a40d7ba6e71d7f3422fbe89b436e8ee7ece7.tar.xz |
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 <johan+linaro@kernel.org>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions