mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Krzysztof Kozlowski <krzk@kernel.org>
To: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>,
	linux-kernel@vger.kernel.org, Salah Triki <salah.triki@gmail.com>
Subject: Re: [PATCH] drivers: memory: bt1-l2-ctl: replace scnprintf() with sysfs_emit()
Date: Wed, 7 May 2025 07:45:05 +0200	[thread overview]
Message-ID: <6e14798c-7500-4b17-92c1-fea654540347@kernel.org> (raw)
In-Reply-To: <174659664137.29039.12798572123642598206.b4-ty@linaro.org>

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

      reply	other threads:[~2025-05-07  5:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-05 21:43 Salah Triki
2025-05-07  5:44 ` Krzysztof Kozlowski
2025-05-07  5:45   ` Krzysztof Kozlowski [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6e14798c-7500-4b17-92c1-fea654540347@kernel.org \
    --to=krzk@kernel.org \
    --cc=krzysztof.kozlowski@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=salah.triki@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®