summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDmitry Antipov <dmantipov@yandex.ru>2026-06-17 10:39:41 +0300
committerDanilo Krummrich <dakr@kernel.org>2026-07-18 16:07:22 +0200
commitd996995a0ffb86fa0ff0f953221892dced6143a1 (patch)
tree05535745994521ca880829f0e7a6b27e59ab45d8 /tools/perf/scripts/python
parent32e21e9509915aef8b4043b4596ddb40f390438b (diff)
kernfs: simplify kernfs_name_hash()
In 'kernfs_name_hash()', 'name' is NUL-terminated so it may be directly scanned up to end without an extra call to 'strlen()'. Signed-off-by: Dmitry Antipov <dmantipov@yandex.ru> Link: https://patch.msgid.link/20260617073941.472337-1-dmantipov@yandex.ru Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions