summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/parallel-perf.py
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@kernel.org>2025-12-11 19:17:54 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2025-12-17 09:30:37 -0300
commitf6f41aef53761517391b6192fe5b4bc30b2d717a (patch)
tree03c4a3c43d1e1dbc10845e3f5521f29b46b7342e /tools/perf/scripts/python/parallel-perf.py
parentd311783bc68b011c77a4ef81321de2c94d7deffc (diff)
downloadlinux-f6f41aef53761517391b6192fe5b4bc30b2d717a.tar.gz
linux-f6f41aef53761517391b6192fe5b4bc30b2d717a.zip
perf diff: Constify strchr() return variables
Newer glibc versions return const char for strchr() when the 's' arg is const, change the return variable to const to match that. Also we don't need to turn that ',' into a '\0', as strtol() will stop in the first invalid char. No need to touch read only memory. First noticed with fedora 44. Reviewed-by: Ian Rogers <irogers@google.com> Link: https://lore.kernel.org/r/20251211221756.96294-3-acme@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions