summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorXu Panda <xu.panda@zte.com.cn>2022-12-09 10:38:59 +0300
committerJakub Kicinski <kuba@kernel.org>2022-12-13 00:00:00 +0300
commit80a464d83f08cac5052c7f857fc067b3fe88071d (patch)
tree5e5f0530a2df19f7022a3d10748a541824fa9e3f /tools/perf/scripts/python/syscall-counts.py
parentda05cecc4939c0410d56c29e252998b192756318 (diff)
downloadlinux-80a464d83f08cac5052c7f857fc067b3fe88071d.tar.xz
net: hns3: use strscpy() to instead of strncpy()
The implementation of strscpy() is more robust and safer. That's now the recommended way to copy NUL terminated strings. Signed-off-by: Xu Panda <xu.panda@zte.com.cn> Signed-off-by: Yang Yang <yang.yang29@zte.com> Reviewed-by: Jiri Pirko <jiri@nvidia.com> Link: https://lore.kernel.org/r/202212091538591375035@zte.com.cn Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions