Linux Kernel Mentees list
 help / color / mirror / Atom feed
From: Guenter Roeck <linux@roeck-us.net>
To: Khaled Elnaggar <khaledelnaggarlinux@gmail.com>
Cc: jdelvare@suse.com, linux-kernel-mentees@lists.linux.dev,
	shuah@kernel.org, linux-hwmon@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] hwmon: max31827: use sysfs_emit() in temp1_resolution_show()
Date: Wed, 16 Jul 2025 07:48:03 -0700	[thread overview]
Message-ID: <607fadd3-1c7a-4efb-8d31-8117f1ee6e50@roeck-us.net> (raw)
In-Reply-To: <20250712131447.326995-1-khaledelnaggarlinux@gmail.com>

On Sat, Jul 12, 2025 at 04:14:46PM +0300, Khaled Elnaggar wrote:
> Replace scnprintf() with sysfs_emit() in temp1_resolution_show(),
> as recommended in Documentation/filesystems/sysfs.rst: show() callbacks
> should use sysfs_emit() or sysfs_emit_at() to format values returned to
> userspace.
> 
> Signed-off-by: Khaled Elnaggar <khaledelnaggarlinux@gmail.com>

Applied.

Thanks,
Guenter

      reply	other threads:[~2025-07-16 14:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-12 13:14 [PATCH] hwmon: max31827: use sysfs_emit() in temp1_resolution_show() Khaled Elnaggar
2025-07-16 14:48 ` Guenter Roeck [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=607fadd3-1c7a-4efb-8d31-8117f1ee6e50@roeck-us.net \
    --to=linux@roeck-us.net \
    --cc=jdelvare@suse.com \
    --cc=khaledelnaggarlinux@gmail.com \
    --cc=linux-hwmon@vger.kernel.org \
    --cc=linux-kernel-mentees@lists.linux.dev \
    --cc=linux-kernel@vger.kernel.org \
    --cc=shuah@kernel.org \
    /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