summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorjustinstitt@google.com <justinstitt@google.com>2023-12-07 02:16:10 +0300
committerDavid S. Miller <davem@davemloft.net>2023-12-08 13:56:25 +0300
commit2a48c635fd9a48699805bbfeee1e4b94b8fe819d (patch)
treee58c2217a3941f726485ab29e77a399f3be5b9d8 /scripts
parent09b489478383d9f3a04dfe5da72ae1b79af3e5f8 (diff)
downloadlinux-2a48c635fd9a48699805bbfeee1e4b94b8fe819d.tar.xz
ethtool: Implement ethtool_puts()
Use strscpy() to implement ethtool_puts(). Functionally the same as ethtool_sprintf() when it's used with two arguments or with just "%s" format specifier. Signed-off-by: Justin Stitt <justinstitt@google.com> Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Madhuri Sripada <madhuri.sripada@microchip.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions