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@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=n...
Suzuki