2021-02-04 23:31:54

by Richard Weinberger

[permalink] [raw]
Subject: Re: [PATCH] mtd: convert sysfs sprintf/snprintf family to sysfs_emit

----- Ursprüngliche Mail -----
>> Fix the following coccicheck warning:
>>
>> ./drivers/mtd/mtdcore.c: WARNING: use scnprintf or sprintf.
>
> That's not what you do in the below change :)

Well, sysfs_emit() is the sysfs equivalent of scnprintf().
But the patch fails to explain *why* it is needed.

Thanks,
//richard