Re: [PATCH] w1: core: use sysfs_emit() instead of sprintf()

From: Krzysztof Kozlowski
Date: Sun Dec 22 2024 - 09:26:28 EST


On 20/12/2024 11:23, zhangheng wrote:
> Follow the advice in Documentation/filesystems/sysfs.rst:
> show() should only use sysfs_emit() or sysfs_emit_at() when formatting
> the value to be returned to user space.
>
> Signed-off-by: zhangheng <zhangheng@xxxxxxxxxx>
> ---
> change for v2
> - None

`git format-patch -v2` or use b4 in the future.

No need to resend, I'll apply it.



Best regards,
Krzysztof