aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2023-01-27 15:51:35 +0000
committerKees Cook <[email protected]>2023-01-27 19:42:57 +0000
commita8c55407a7230798eb157ed2cf5398a6a2b123b6 (patch)
tree169e4f50d1fe28c1d9c40aeacfc7f93c6abc0ea2 /scripts/gcc-plugins
parentcrypto: hisilicon: Wipe entire pool on error (diff)
downloadkernel-a8c55407a7230798eb157ed2cf5398a6a2b123b6.tar.gz
kernel-a8c55407a7230798eb157ed2cf5398a6a2b123b6.zip
lib/string: Use strchr() in strpbrk()
Use strchr() instead of open coding it as it's done elsewhere in the same file. Either we will have similar to what it was or possibly better performance in case architecture implements its own strchr(). Memory wise on x86_64 bloat-o-meter shows the following Function old new delta strsep 111 102 -9 Total: Before=2763, After=2754, chg -0.33% Signed-off-by: Andy Shevchenko <[email protected]> Signed-off-by: Kees Cook <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gcc-plugins')
0 files changed, 0 insertions, 0 deletions