summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorSu Hui <suhui@nfschina.com>2025-05-27 17:23:34 +0800
committerAndrew Morton <akpm@linux-foundation.org>2025-07-09 22:57:49 -0700
commit85df0d505ed64d72c86822733f648074d1ae2bca (patch)
tree8bb32ae09b873317c397128e39aa58d34a42fbd2 /tools/perf/scripts/python/syscall-counts.py
parent50b4233a22b1ee9ccd0e847597de66ce21329ddb (diff)
ocfs2: replace simple_strtol with kstrtol
kstrtol() is better because simple_strtol() ignores overflow. And using kstrtol() is more concise. Link: https://lkml.kernel.org/r/20250527092333.1917391-1-suhui@nfschina.com Signed-off-by: Su Hui <suhui@nfschina.com> Reviewed-by: Joseph Qi <joseph.qi@linux.alibaba.com> Cc: Mark Fasheh <mark@fasheh.com> Cc: Joel Becker <jlbec@evilplan.org> Cc: Junxiao Bi <junxiao.bi@oracle.com> Cc: Changwei Ge <gechangwei@live.cn> Cc: Jun Piao <piaojun@huawei.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions