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

Przemek Kitszel przemyslaw.kitszel at intel.com
Wed Dec 6 23:12:49 PST 2023


On 12/7/23 00:16, justinstitt at 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 <justinstitt at google.com>
> ---
>   include/linux/ethtool.h | 13 +++++++++++++
>   net/ethtool/ioctl.c     |  7 +++++++
>   2 files changed, 20 insertions(+)
> 


Reviewed-by: Przemek Kitszel <przemyslaw.kitszel at intel.com>



More information about the Linux-mediatek mailing list