summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorJiri Pirko <jiri@nvidia.com>2023-02-10 13:01:25 +0300
committerDavid S. Miller <davem@davemloft.net>2023-02-13 12:49:14 +0300
commitfa2f921f3bf1ed98956ad341b920a55aab69bc35 (patch)
treecf9aafcbb3c177bd5a3d80452a02b30efc1a6972 /tools/perf/scripts/python/syscall-counts.py
parent170677fee45baa955b3f7c1f41e6031d1d1e2272 (diff)
downloadlinux-fa2f921f3bf1ed98956ad341b920a55aab69bc35.tar.xz
devlink: don't use strcpy() to copy param value
No need to treat string params any different comparing to other types. Rely on the struct assign to copy the whole struct, including the string. Signed-off-by: Jiri Pirko <jiri@nvidia.com> Reviewed-by: Simon Horman <simon.horman@corigine.com> Acked-by: Jakub Kicinski <kuba@kernel.org> Reviewed-by: Jacob Keller <jacob.e.keller@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions