diff options
| author | Ard Biesheuvel <[email protected]> | 2023-11-29 11:16:13 +0000 |
|---|---|---|
| committer | Will Deacon <[email protected]> | 2023-12-12 11:13:52 +0000 |
| commit | bcf1eed3f8a0b83824b41da82d226cf36320be76 (patch) | |
| tree | 72d2c6baadbac374618a6bef83e70e7ac9e1a958 /drivers/fpga/versal-fpga.c | |
| parent | arm64: idreg-override: Avoid parameq() and parameqn() (diff) | |
| download | kernel-bcf1eed3f8a0b83824b41da82d226cf36320be76.tar.gz kernel-bcf1eed3f8a0b83824b41da82d226cf36320be76.zip | |
arm64: idreg-override: avoid strlen() to check for empty strings
strlen() is a costly way to decide whether a string is empty, as in that
case, the first character will be NUL so we can check for that directly.
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
