diff options
| author | Ard Biesheuvel <[email protected]> | 2023-11-29 11:16:15 +0000 |
|---|---|---|
| committer | Will Deacon <[email protected]> | 2023-12-12 11:13:53 +0000 |
| commit | ea48626f8f0efc697555d17bb5853df92461e280 (patch) | |
| tree | 6ff6aa527962921780555a352563fac56bec15e5 /drivers/fpga/versal-fpga.c | |
| parent | arm64: idreg-override: Avoid sprintf() for simple string concatenation (diff) | |
| download | kernel-ea48626f8f0efc697555d17bb5853df92461e280.tar.gz kernel-ea48626f8f0efc697555d17bb5853df92461e280.zip | |
arm64: idreg-override: Avoid kstrtou64() to parse a single hex digit
All ID register value overrides are =0 with the exception of the nokaslr
pseudo feature which uses =1. In order to remove the dependency on
kstrtou64(), which is part of the core kernel and no longer usable once
we move idreg-override into the early mini C runtime, let's just parse a
single hex digit (with optional leading 0x) and set the output value
accordingly.
Signed-off-by: Ard Biesheuvel <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'drivers/fpga/versal-fpga.c')
0 files changed, 0 insertions, 0 deletions
