Re: [PATCH] video: fbdev: sm501fb: onvert sysfs snprintf to sysfs_emit

2022-10-17 Thread Helge Deller
On 10/18/22 08:25, Xuezhi Zhang wrote: From: Xuezhi Zhang Follow the advice of the Documentation/filesystems/sysfs.rst and show() should only use sysfs_emit() or sysfs_emit_at() when formatting the value to be returned to user space. Signed-off-by: Xuezhi Zhang applied. Thanks! Helge ---

[PATCH] video: fbdev: sm501fb: onvert sysfs snprintf to sysfs_emit

2022-10-17 Thread Xuezhi Zhang
From: Xuezhi Zhang Follow the advice of the Documentation/filesystems/sysfs.rst and show() should only use sysfs_emit() or sysfs_emit_at() when formatting the value to be returned to user space. Signed-off-by: Xuezhi Zhang --- drivers/video/fbdev/sm501fb.c | 2 +- 1 file changed, 1 insertion(+