Messages in this thread | | | Date | Tue, 6 Dec 2022 10:05:19 +0200 | From | Leon Romanovsky <> | Subject | Re: [PATCH net-next] net: ethernet: use sysfs_emit() to instead of scnprintf() |
| |
On Mon, Dec 05, 2022 at 07:18:56PM +0800, ye.xingchen@zte.com.cn wrote: > From: ye xingchen <ye.xingchen@zte.com.cn> > > 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> > --- > net/ethernet/eth.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >
Thanks, Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
| |