[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <9b5866e1-98cc-42a9-9cd6-f89927c79bab@fujitsu.com>
Date: Wed, 17 Jan 2024 05:39:46 +0000
From: "Zhijian Li (Fujitsu)" <lizhijian@...itsu.com>
To: Jakub Kicinski <kuba@...nel.org>
CC: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>, Richard
Cochran <richardcochran@...il.com>, "netdev@...r.kernel.org"
<netdev@...r.kernel.org>
Subject: Re: [PATCH 15/42] drivers/ptp: Convert snprintf to sysfs_emit
Jakub,
On 16/01/2024 23:33, Jakub Kicinski wrote:
> On Tue, 16 Jan 2024 12:51:24 +0800 Li Zhijian wrote:
>> Per filesystems/sysfs.rst, show() should only use sysfs_emit()
>> or sysfs_emit_at() when formatting the value to be returned to user space.
>>
>> coccinelle complains that there are still a couple of functions that use
>> snprintf(). Convert them to sysfs_emit().
>>
>>> ./drivers/ptp/ptp_sysfs.c:27:8-16: WARNING: please use sysfs_emit
>
> If the patches don't depend on each other please post them separately.
> Series should only be used if there are dependencies and the same
> maintainer is expected to apply all patches>
> The ptp change should be reposted after the merge window, we don't take
> cleanups during the merge window.
Understood. i will split them per subsystem/maintainer and repost them
separately after the merge window.
Thanks
Zhijian
(Grouping them into the same set helped us have an overview of this warning.)
Powered by blists - more mailing lists