From: Guenter Roeck <linux@roeck-us.net>
To: Rong Zhang <i@rong.moe>
Cc: Jonathan Corbet <corbet@lwn.net>,
Shuah Khan <skhan@linuxfoundation.org>,
linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-doc@vger.kernel.org
Subject: Re: [PATCH 1/4] hwmon: Add label support for 64-bit energy attributes
Date: Thu, 26 Mar 2026 16:41:50 -0700 [thread overview]
Message-ID: <330ed568-e5c4-4a1b-af18-ae3c79bf16e1@roeck-us.net> (raw)
In-Reply-To: <20260327-b4-hwmon-witrn-v1-1-8d2f1896c045@rong.moe>
On Fri, Mar 27, 2026 at 03:19:50AM +0800, Rong Zhang wrote:
> Since commit 0bcd01f757bc ("hwmon: Introduce 64-bit energy attribute
> support"), devices can report 64-bit energy values by selecting the
> sensor type "energy64". However, such sensors can't report their labels
> since is_string_attr() was not updated to match it.
>
> Add label support for 64-bit energy attributes by updating
> is_string_attr() to match hwmon_energy64 in addition to hwmon_energy.
>
> Signed-off-by: Rong Zhang <i@rong.moe>
Applied.
Thanks,
Guenter
next prev parent reply other threads:[~2026-03-26 23:41 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-26 19:19 [PATCH 0/4] hwmon: Add WITRN USB tester driver Rong Zhang
2026-03-26 19:19 ` [PATCH 1/4] hwmon: Add label support for 64-bit energy attributes Rong Zhang
2026-03-26 23:41 ` Guenter Roeck [this message]
2026-03-26 19:19 ` [PATCH 2/4] hwmon: New helper module for floating-point to integer conversions Rong Zhang
2026-03-26 19:19 ` [PATCH 3/4] hwmon: Add barebone HID driver for WITRN Rong Zhang
2026-03-26 19:19 ` [PATCH 4/4] hwmon: (witrn) Add monitoring support Rong Zhang
2026-03-29 11:52 ` kernel test robot
2026-03-29 12:33 ` kernel test robot
2026-03-27 0:05 ` [PATCH 0/4] hwmon: Add WITRN USB tester driver Guenter Roeck
2026-03-27 12:01 ` Rong Zhang
2026-03-27 15:42 ` Guenter Roeck
2026-03-27 17:23 ` Rong Zhang
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=330ed568-e5c4-4a1b-af18-ae3c79bf16e1@roeck-us.net \
--to=linux@roeck-us.net \
--cc=corbet@lwn.net \
--cc=i@rong.moe \
--cc=linux-doc@vger.kernel.org \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=skhan@linuxfoundation.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
all inboxes | Powered by JetHome®