diff options
author | [email protected] <[email protected]> | 2023-12-06 23:16:12 +0000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2023-12-08 10:56:25 +0000 |
commit | e403cffff1a46ab1a95d3bc72e92634445d68328 (patch) | |
tree | acd9d83659679831df06d1c12f0ee8c469587b06 /tools/perf/scripts/python/gecko.py | |
parent | 9b5f621cea6eff2f75b851c6c62cefbdb1673c44 (diff) |
net: Convert some ethtool_sprintf() to ethtool_puts()
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(&data, buffer[i].name);
or when it's used with format string: "%s"
| ethtool_sprintf(&data, "%s", buffer[i].name);
which both now become:
| ethtool_puts(&data, buffer[i].name);
Signed-off-by: Justin Stitt <[email protected]>
Reviewed-by: Wei Fang <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Reviewed-by: Louis Peens <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions