diff options
| author | Thorsten Blum <thorsten.blum@linux.dev> | 2026-07-21 17:53:46 +0200 |
|---|---|---|
| committer | Madhavan Srinivasan <maddy@linux.ibm.com> | 2026-07-31 17:06:44 +0530 |
| commit | 903cc6e45401d7f3821758901f229b0b59e4f27c (patch) | |
| tree | 9f75e9f2a665503ec10f08e68e02991d96b3c208 /tools/perf/scripts/python/bin | |
| parent | 86bb4d74da626064136d30367d1b35372b8320fb (diff) | |
powerpc/pseries: Avoid strlen() in do_{remove,update}_property()
Check only the first byte instead of scanning the entire string with
strlen().
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Reviewed-by: Christophe Leroy (CS GROUP) <chleroy@kernel.org>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/20260721155346.121975-4-thorsten.blum@linux.dev
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
