Re: [PATCH linux-next] net: atm: use sysfs_emit() instead of scnprintf().
From: Simon Horman
Date: Wed Mar 19 2025 - 13:07:19 EST
On Sat, Mar 15, 2025 at 02:12:49PM +0800, xie.ludan@xxxxxxxxxx wrote:
> From: XieLudan <xie.ludan@xxxxxxxxxx>
>
> 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: XieLudan <xie.ludan@xxxxxxxxxx>
FTR, this appears to be superseded by:
- [PATCH linux-next] net: atm: use sysfs_emit()/sysfs_emit_at() instead of scnprintf().
https://lore.kernel.org/all/20250317152933756kWrF1Y_e-2EKtrR_GGegq@xxxxxxxxxx/
--
pw-bot: superseded