[PATCH v2] mtd: convert sysfs sprintf/snprintf family to sysfs_emit

Richard Weinberger richard.weinberger at gmail.com
Tue Feb 9 05:51:45 EST 2021


On Sun, Feb 7, 2021 at 8:54 AM Jiapeng Chong
<jiapeng.chong at linux.alibaba.com> wrote:
>
> Fix the following coccicheck warning:
>
> convert sysfs snprintf family to sysfs_emit in 'mtdcore.c'.

The patch still does not explain why this is needed and what it fixes. :-(
"A bot told me to change that line of code" is not a valid patch description.

-- 
Thanks,
//richard



More information about the linux-mtd mailing list