treewide: use ethtool_puts instead of memcpy
authorRosen Penev <rosenp@gmail.com>
Sun, 10 Dec 2023 23:12:24 +0000 (15:12 -0800)
committerChristian Marangi <ansuelsmth@gmail.com>
Fri, 5 Jan 2024 15:12:49 +0000 (16:12 +0100)
commit89ff407d68ca152a28811f94c0a8e9ebb11f44d7
tree7215ea45226d9054d3490646dc419b4acc97b360
parent511c7ff03231752ea2adbdf7cc1af4be962c9b65
treewide: use ethtool_puts instead of memcpy

The former is a safer and more readable version.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_ethtool.c
target/linux/ipq40xx/patches-6.1/700-net-ipqess-introduce-the-Qualcomm-IPQESS-driver.patch
target/linux/ramips/files/drivers/net/ethernet/ralink/ethtool.c
target/linux/realtek/files-5.15/drivers/net/dsa/rtl83xx/dsa.c