[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <0007218f-96f0-c348-0dfb-7cb54f014b1c@arm.com>
Date: Thu, 29 Sep 2022 11:21:11 +0100
From: Suzuki K Poulose <suzuki.poulose@....com>
To: James Clark <james.clark@....com>, zhangsongyi.cgel@...il.com
Cc: mike.leach@...aro.org, leo.yan@...aro.org,
alexander.shishkin@...ux.intel.com, mcoquelin.stm32@...il.com,
alexandre.torgue@...s.st.com, coresight@...ts.linaro.org,
linux-arm-kernel@...ts.infradead.org,
linux-stm32@...md-mailman.stormreply.com,
linux-kernel@...r.kernel.org,
zhang songyi <zhang.songyi@....com.cn>,
Zeal Robot <zealci@....com.cn>,
Mathieu Poirier <mathieu.poirier@...aro.org>
Subject: Re: [PATCH linux-next] coresight: use sysfs_emit() to instead of
scnprintf()
On 28/09/2022 15:56, James Clark wrote:
>
>
> On 27/09/2022 12:51, zhangsongyi.cgel@...il.com wrote:
>> From: zhang songyi <zhang.songyi@....com.cn>
>>
>> Follow the advice of the Documentation/filesystems/sysfs.rst and show()
>> should only use sysfs_emit() or sysfs_emit_at() when formatting the value
>> to be returned to user space.
>>
>> Reported-by: Zeal Robot <zealci@....com.cn>
>> Signed-off-by: zhang songyi <zhang.songyi@....com.cn>
>> ---
>> drivers/hwtracing/coresight/coresight-stm.c | 8 ++++----
>> 1 file changed, 4 insertions(+), 4 deletions(-)
>>
>
> Reviewed-by: James Clark <james.clark@....com>
I have queued this locally for now, will push it once the next
cycle is out.
Suzuki
Powered by blists - more mailing lists