ye xingchen 16dc16d9f0 net: ethernet: use sysfs_emit() to instead of scnprintf()
Follow the advice of the Documentation/filesystems/sysfs.rst and show()
should only use sysfs_emit() or sysfs_emit_at() when formatting the
value to be returned to user space.

Signed-off-by: ye xingchen <ye.xingchen@zte.com.cn>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Link: https://lore.kernel.org/r/202212051918564721658@zte.com.cn
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2022-12-07 20:02:44 -08:00
..
2022-11-28 19:42:17 -08:00
2022-02-25 09:36:06 +01:00
2022-11-22 20:41:54 -08:00
2022-12-02 20:33:30 -08:00
2022-12-01 20:06:06 -08:00
2022-12-02 20:33:30 -08:00
2022-08-22 14:26:30 +01:00
2022-08-22 14:26:30 +01:00