Re: [PATCH] remoteproc: debugfs: Replace scnprintf() with sysfs_emit()

2025-06-19 Thread Christophe JAILLET
Le 19/06/2025 à 21:04, Abhinav Ananthu a écrit : I apologize for the mistake in the signed-off email address in the previous patch. Convert the debugfs show() functions in remoteproc_debugfs.c to use sysfs_emit() instead of scnprintf(). The sysfs_emit() helper is the preferred way to format sys

[PATCH] remoteproc: debugfs: Replace scnprintf() with sysfs_emit()

2025-06-19 Thread Abhinav Ananthu
I apologize for the mistake in the signed-off email address in the previous patch. Convert the debugfs show() functions in remoteproc_debugfs.c to use sysfs_emit() instead of scnprintf(). The sysfs_emit() helper is the preferred way to format sysfs output as it ensures the output is properly boun

[PATCH] remoteproc: debugfs: Replace scnprintf() with sysfs_emit()

2025-06-19 Thread Abhinav Ananthu
Convert the debugfs show() functions in remoteproc_debugfs.c to use sysfs_emit() instead of scnprintf(). The sysfs_emit() helper is the preferred way to format sysfs output as it ensures the output is properly bounded to PAGE_SIZE and simplifies the code. This patch addresses three instances of sc