RE: [PATCH net-next v5 1/3] ethtool: Implement ethtool_puts()

2023-12-08 Thread Madhuri.Sripada
> 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 Reviewed-by: Madhuri Sripada

Re: [PATCH net-next v5 1/3] ethtool: Implement ethtool_puts()

2023-12-07 Thread Andrew Lunn
On Wed, Dec 06, 2023 at 11:16:10PM +, justinst...@google.com 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 Reviewed-by: Andrew Lunn

Re: [Intel-wired-lan] [PATCH net-next v5 1/3] ethtool: Implement ethtool_puts()

2023-12-06 Thread Przemek Kitszel
On 12/7/23 00:16, justinst...@google.com 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 --- include/linux/ethtool.h | 13 + net/ethtool

[PATCH net-next v5 1/3] ethtool: Implement ethtool_puts()

2023-12-06 Thread justinstitt
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 --- include/linux/ethtool.h | 13 + net/ethtool/ioctl.c | 7 +++ 2 files changed, 20 inser