- 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
Hi Jiapeng,
Jiapeng Chong wrote on Thu, 4 Feb
2021 11:55:21 +0800:
> Fix the following coccicheck warning:
>
> ./drivers/mtd/mtdcore.c: WARNING: use scnprintf or sprintf.
That's not what you do in the below change :)
>
> Reported-by: Abaci Robot
> Signed-off-by: Jiapeng Chong
> ---
> driv
Fix the following coccicheck warning:
./drivers/mtd/mtdcore.c: WARNING: use scnprintf or sprintf.
Reported-by: Abaci Robot
Signed-off-by: Jiapeng Chong
---
drivers/mtd/mtdcore.c | 35 +--
1 file changed, 17 insertions(+), 18 deletions(-)
diff --git a/drivers/mtd
3 matches
Mail list logo