Skip to content
Commit 2a48c635 authored by justinstitt@google.com's avatar justinstitt@google.com Committed by David S. Miller
Browse files

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: default avatarJustin Stitt <justinstitt@google.com>
Reviewed-by: default avatarPrzemek Kitszel <przemyslaw.kitszel@intel.com>
Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
Reviewed-by: default avatarMadhuri Sripada <madhuri.sripada@microchip.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 09b48947
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment