Re: [PATCH] RDMA/hfi1: use sysfs_emit() to instead of scnprintf()

From: Leon Romanovsky
Date: Wed Dec 07 2022 - 04:08:35 EST


On Wed, 7 Dec 2022 16:32:18 +0800 (CST), ye.xingchen@xxxxxxxxxx wrote:
> From: ye xingchen <ye.xingchen@xxxxxxxxxx>
>
> 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.
>
>
> [...]

Applied, thanks!

[1/1] RDMA/hfi1: use sysfs_emit() to instead of scnprintf()
https://git.kernel.org/rdma/rdma/c/d074f0aebde564

Best regards,
--
Leon Romanovsky <leon@xxxxxxxxxx>