diff options
| author | Daniel Yang <danielyangkang@gmail.com> | 2024-11-17 13:52:18 -0800 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2025-01-12 20:21:07 -0800 |
| commit | 08de555ae59a8b062f3d84a5f5684129584dd4c6 (patch) | |
| tree | 0b5eaef5187fe655d60f3f945942493eb9d368c2 /tools/perf/scripts/python | |
| parent | alpha: remove duplicate included header file (diff) | |
| download | linux-08de555ae59a8b062f3d84a5f5684129584dd4c6.tar.gz linux-08de555ae59a8b062f3d84a5f5684129584dd4c6.zip | |
ocfs2: heartbeat: replace simple_strtoul with kstrtoul
simple_strtoul() is deprecated due to ignoring overflows and also requires
clunkier error checking. Replacing with kstrtoul() leads to safer code
and cleaner error checking.
Link: https://lkml.kernel.org/r/20241117215219.4012-1-danielyangkang@gmail.com
Signed-off-by: Daniel Yang <danielyangkang@gmail.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')
0 files changed, 0 insertions, 0 deletions
