From: Guenter Roeck <linux@roeck-us.net>
To: Tabrez Ahmed <tabreztalks@gmail.com>
Cc: linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org,
Shuah Khan <shuah@kernel.org>,
Brigham Campbell <me@brighamcampbell.com>
Subject: Re: [PATCH] hwmon: (ads7871) Replace sprintf() with sysfs_emit()
Date: Sat, 7 Mar 2026 17:23:24 -0800 [thread overview]
Message-ID: <5bf4e910-b4a6-4d4c-a2da-6ee497b56b5e@roeck-us.net> (raw)
In-Reply-To: <20260307083815.12095-1-tabreztalks@gmail.com>
On Sat, Mar 07, 2026 at 02:08:15PM +0530, Tabrez Ahmed wrote:
> Use sysfs_emit() instead of sprintf() in the sysfs show function
> voltage_show() to comply with the preferred kernel interface for
> writing to sysfs buffers, which ensures PAGE_SIZE buffer limits
> are respected.
>
> No functional change intended.
>
> Note: Not runtime tested due to lack of hardware.
>
> Signed-off-by: Tabrez Ahmed <tabreztalks@gmail.com>
Applied.
Thanks,
Guenter
prev parent reply other threads:[~2026-03-08 1:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-07 8:38 Tabrez Ahmed
2026-03-08 1:23 ` 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=5bf4e910-b4a6-4d4c-a2da-6ee497b56b5e@roeck-us.net \
--to=linux@roeck-us.net \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=me@brighamcampbell.com \
--cc=shuah@kernel.org \
--cc=tabreztalks@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®