summaryrefslogtreecommitdiff
path: root/include/net/devlink.h
diff options
context:
space:
mode:
authorJiri Pirko <jiri@nvidia.com>2023-02-10 11:01:25 +0100
committerDavid S. Miller <davem@davemloft.net>2023-02-13 09:49:14 +0000
commitfa2f921f3bf1ed98956ad341b920a55aab69bc35 (patch)
treecf9aafcbb3c177bd5a3d80452a02b30efc1a6972 /include/net/devlink.h
parent170677fee45baa955b3f7c1f41e6031d1d1e2272 (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 <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 'include/net/devlink.h')
0 files changed, 0 insertions, 0 deletions