diff options
author | Jiri Pirko <[email protected]> | 2023-02-10 11:01:25 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2023-02-13 09:49:14 +0000 |
commit | fa2f921f3bf1ed98956ad341b920a55aab69bc35 (patch) | |
tree | cf9aafcbb3c177bd5a3d80452a02b30efc1a6972 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | 170677fee45baa955b3f7c1f41e6031d1d1e2272 (diff) |
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 <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Acked-by: Jakub Kicinski <[email protected]>
Reviewed-by: Jacob Keller <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions