aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/versal-fpga.c
diff options
context:
space:
mode:
authorArd Biesheuvel <[email protected]>2023-11-29 11:16:13 +0000
committerWill Deacon <[email protected]>2023-12-12 11:13:52 +0000
commitbcf1eed3f8a0b83824b41da82d226cf36320be76 (patch)
tree72d2c6baadbac374618a6bef83e70e7ac9e1a958 /drivers/fpga/versal-fpga.c
parentarm64: idreg-override: Avoid parameq() and parameqn() (diff)
downloadkernel-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