diff options
author | Ilias Apalodimas <ilias.apalodimas@linaro.org> | 2020-11-22 15:10:26 +0200 |
---|---|---|
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2020-11-29 05:18:37 +0100 |
commit | 6974a4a37348ba272e53dd33effcc0db9e144c59 (patch) | |
tree | a92bfd16dfad8a9a35e08e79747128be3c9af148 /drivers/i2c/i2c-gpio.c | |
parent | 03699bc75621934f7fb5d5a023007b39fb21ad6b (diff) |
charset: make u16_strnlen accessible at runtime
commit 1fabfeef506c ("efi_loader: parameter check in GetNextVariableName()")
introduces a check using u16_strnlen(). This code is used on EFI
runtime variables as well, so unless we mark it as runtime, the kernel
will crash trying to access it.
Fixes: 1fabfeef506c ("efi_loader: parameter check in GetNextVariableName()")
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'drivers/i2c/i2c-gpio.c')
0 files changed, 0 insertions, 0 deletions