Messages in this thread | | | Date | Wed, 3 Nov 2021 09:27:42 +0100 | From | Johan Hovold <> | Subject | Re: [PATCH] drivers: most: replace snprintf in show functions with sysfs_emit |
| |
On Wed, Nov 03, 2021 at 08:23:13AM +0000, cgel.zte@gmail.com wrote: > From: Jing Yao <yao.jing2@zte.com.cn> > > coccicheck complains about the use of snprintf() in sysfs show > funcitons: > WARNING use scnprintf or sprintf > > Use sysfs_emit instead of scnprintf, snprintf or sprintf makes more > sense. > > Reported-by: Zeal Robot <zealci@zte.com.cn> > Signed-off-by: Jing Yao <yao.jing2@zte.com.cn>
Again, no need to include "drivers: " in the Subject, even if in this case the single commit adding this file also got this wrong.
Johan
| |