linux/drivers/net/ethernet/freescale
justinstitt@google.com e403cffff1 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 <justinstitt@google.com>
Reviewed-by: Wei Fang <wei.fang@nxp.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Louis Peens <louis.peens@corigine.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2023-12-08 10:56:25 +00:00
..
dpaa eth: dpaa: add missing net/xdp.h include 2023-08-03 16:17:34 -07:00
dpaa2 dpaa2-eth: recycle the RX buffer only after all processing done 2023-11-26 15:18:57 +00:00
enetc net: enetc: shorten enetc_setup_xdp_prog() error message to fit NETLINK_MAX_FMTMSG_LEN 2023-11-07 18:57:16 -08:00
fman net: fman: convert to .mac_get_caps() 2023-10-17 17:51:19 -07:00
fs_enet net: ethernet: Use device_get_match_data() 2023-10-13 10:04:53 +01:00
fec.h net: fec: improve XDP_TX performance 2023-08-16 07:12:39 +01:00
fec_main.c net: Convert some ethtool_sprintf() to ethtool_puts() 2023-12-08 10:56:25 +00:00
fec_mpc52xx.c net: Explicitly include correct DT includes 2023-07-27 20:33:16 -07:00
fec_mpc52xx.h
fec_mpc52xx_phy.c net: Explicitly include correct DT includes 2023-07-27 20:33:16 -07:00
fec_ptp.c net: fec: delete fec_ptp_disable_hwts() 2023-08-02 19:11:06 -07:00
fsl_pq_mdio.c net: ethernet: Use device_get_match_data() 2023-10-13 10:04:53 +01:00
gianfar.c net: Explicitly include correct DT includes 2023-07-27 20:33:16 -07:00
gianfar.h
gianfar_ethtool.c net: Explicitly include correct DT includes 2023-07-27 20:33:16 -07:00
Kconfig net: fec: allow to build without PAGE_POOL_STATS 2023-06-20 12:11:59 -07:00
Makefile
ucc_geth.c net: Explicitly include correct DT includes 2023-07-27 20:33:16 -07:00
ucc_geth.h
ucc_geth_ethtool.c
xgmac_mdio.c net: Explicitly include correct DT includes 2023-07-27 20:33:16 -07:00