[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <6e14798c-7500-4b17-92c1-fea654540347@kernel.org>
Date: Wed, 7 May 2025 07:45:05 +0200
From: Krzysztof Kozlowski <krzk@...nel.org>
To: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>,
linux-kernel@...r.kernel.org, Salah Triki <salah.triki@...il.com>
Subject: Re: [PATCH] drivers: memory: bt1-l2-ctl: replace scnprintf() with
sysfs_emit()
On 07/05/2025 07:44, Krzysztof Kozlowski wrote:
>
> On Mon, 05 May 2025 22:43:26 +0100, Salah Triki wrote:
>> Documentation/filesystems/sysfs.rst mentions that show() should only
>> use sysfs_emit() or sysfs_emit_at() when formating the value to be
>> returned to user space. So replace scnprintf() with sysfs_emit().
>>
>>
>
> Applied, thanks!
>
> [1/1] drivers: memory: bt1-l2-ctl: replace scnprintf() with sysfs_emit()
> https://git.kernel.org/krzk/linux-mem-ctrl/c/03d0d7f0ef05ddd791eb37d35dcc5ca2a53d8b93
In the future:
Please use subject prefixes matching the subsystem. You can get them for
example with `git log --oneline -- DIRECTORY_OR_FILE` on the directory
your patch is touching. For bindings, the preferred subjects are
explained here:
https://www.kernel.org/doc/html/latest/devicetree/bindings/submitting-patches.html#i-for-patch-submitters
Best regards,
Krzysztof
Powered by blists - more mailing lists