On 12/7/23 00:16, justinstitt@xxxxxxxxxx wrote:
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@xxxxxxxxxx> --- include/linux/ethtool.h | 13 +++++++++++++ net/ethtool/ioctl.c | 7 +++++++ 2 files changed, 20 insertions(+)
Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@xxxxxxxxx>