Re: [Intel-wired-lan] [PATCH 2/3] treewide: Convert some ethtool_sprintf() to ethtool_puts()

2023-10-30 Thread Kiyanovski, Arthur
> -Original Message- > From: Przemek Kitszel > Sent: Thursday, October 26, 2023 12:24 PM > To: Justin Stitt ; David S. Miller > ; Eric Dumazet ; Jakub > Kicinski ; Paolo Abeni ; Agroskin, Shay > ; Kiyanovski, Arthur ; Arinzon, > David ; Dagan, Noam ; > Bshara, Saeed ; Rasesh Mody ; >

Re: [Intel-wired-lan] [PATCH 2/3] treewide: Convert some ethtool_sprintf() to ethtool_puts()

2023-10-30 Thread Justin Stitt
On Wed, Oct 25, 2023 at 4:51 PM Joe Perches wrote: > > On Wed, 2023-10-25 at 23:40 +, Justin Stitt wrote: > > This patch converts some basic cases of ethtool_sprintf() to > > ethtool_puts(). > > > > The conversions are used in cases where ethtool_sprintf() was being used > > with just two

[Intel-wired-lan] [PATCH 2/3] treewide: Convert some ethtool_sprintf() to ethtool_puts()

2023-10-30 Thread Justin Stitt
This patch converts some basic cases of ethtool_sprintf() to ethtool_puts(). The conversions are used in cases where ethtool_sprintf() was being used with just two arguments: | ethtool_sprintf(, buffer[i].name); or when it's used with format string: "%s" | ethtool_sprintf(, "%s",

Re: [Intel-wired-lan] [PATCH 2/3] treewide: Convert some ethtool_sprintf() to ethtool_puts()

2023-10-26 Thread Jakub Kicinski
On Thu, 26 Oct 2023 11:23:37 +0200 Przemek Kitszel wrote: > this would now fit into one line > (perhaps it's the same in other cases, I just checked this one manually) I think cocci would fold lines automatically? Could be worth trying spatch to do the conversion for that reason, if you aren't

Re: [Intel-wired-lan] [PATCH 2/3] treewide: Convert some ethtool_sprintf() to ethtool_puts()

2023-10-26 Thread Przemek Kitszel
On 10/26/23 01:40, Justin Stitt wrote: This patch converts some basic cases of ethtool_sprintf() to ethtool_puts(). The conversions are used in cases where ethtool_sprintf() was being used with just two arguments: | ethtool_sprintf(, buffer[i].name); or when it's used with format string:

Re: [Intel-wired-lan] [PATCH 2/3] treewide: Convert some ethtool_sprintf() to ethtool_puts()

2023-10-25 Thread Joe Perches
On Wed, 2023-10-25 at 23:40 +, Justin Stitt wrote: > This patch converts some basic cases of ethtool_sprintf() to > ethtool_puts(). > > The conversions are used in cases where ethtool_sprintf() was being used > with just two arguments: > > ethtool_sprintf(, buffer[i].name); OK. > or