[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <429874131.360828.1612426616380.JavaMail.zimbra@nod.at>
Date: Thu, 4 Feb 2021 09:16:56 +0100 (CET)
From: Richard Weinberger <richard@....at>
To: Miquel Raynal <miquel.raynal@...tlin.com>
Cc: Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>,
Vignesh Raghavendra <vigneshr@...com>,
linux-mtd <linux-mtd@...ts.infradead.org>,
linux-kernel <linux-kernel@...r.kernel.org>
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
Powered by blists - more mailing lists