[PATCH v4] coresight: Replace scnprintf() with sysfs_emit() in sysfs show functions

Suzuki K Poulose suzuki.poulose at arm.com
Mon Jul 21 01:35:17 PDT 2025


On 19/07/2025 23:45, Chelsy Ratnawat wrote:
> Documentation/filesystems/sysfs.rst mentions that show() should only
> use sysfs_emit() or sysfs_emit_at() when formating the value to be
> returned to user space. So replace scnprintf() with sysfs_emit().
> 
> Signed-off-by: Chelsy Ratnawat <chelsyratnawat2001 at gmail.com>
> ---
> Changes in v4:
> - Applied changes to 5  more files to replace sprintf/scnprintf with
>    sysfs_emit() and sysfs_emit_at()


Please could you rebase this on coresight tree "next" branch ? There
are conflicts.


https://git.kernel.org/pub/scm/linux/kernel/git/coresight/linux.git/log/?h=next

Suzuki




More information about the linux-arm-kernel mailing list