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