All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Anton Lundin" <glance@ac2.se>, linux-hwmon@vger.kernel.org
Subject: Re: [PATCH v2 1/3] hwmon: (nct6775) Handle dual use registers
Date: Mon, 09 Nov 2026 08:37:09 +0000	[thread overview]
Message-ID: <sashiko-outbox-204594@kernel.org> (raw)
In-Reply-To: <20261109082511.851377-2-glance@ac2.se>

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] hwmon: (nct6775) missing Fixes trailers for REG_TARGET
  word-sized bug
--

commit 07bbb498967ba79c83375f58dde7d2cb44db82b2
Author: Anton Lundin <glance@ac2.se>

> hwmon: (nct6775) Handle dual use registers
>
> The REG_TARGET register has different meaning, depending on if pwm is in
> thermal_cruise or speed_cruise.
>
> This means we can't assume it's always word sized, so we need to handle
> it differently depending on which mode we're in.
>
> The code already does this, but the register was configured as word
> sized for the speed_cruise mode, which would do the wrong thing in
> thermal_cruise mode.
>
> Signed-off-by: Anton Lundin <glance@ac2.se>

[Severity: Low]
Since this fixes how REG_TARGET is accessed in thermal_cruise mode on
NCT6106, NCT6116, and NCT6126, should it include Fixes: tags for the
commits that added those entries to nct6775_reg_is_word_sized()?

  Fixes: 6c009501ff20 ("hwmon: (nct6775) Add support for NCT6102D/6106D")
  Fixes: 29c7cb485b32 ("hwmon: (nct6775) Integrate new model nct6116")
  Fixes: 437b3c2a4bdc ("hwmon: (nct6775) Add support for NCT6126D")

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261109082511.851377-1-glance@ac2.se?part=1

  reply	other threads:[~2026-11-09  8:37 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-09  8:25 [PATCH v2 0/3] hwmon: (nct6775) Add support for NCT5525 Anton Lundin
2026-11-09  8:25 ` [PATCH v2 1/3] hwmon: (nct6775) Handle dual use registers Anton Lundin
2026-11-09  8:37   ` sashiko-bot [this message]
2026-11-09 15:58   ` Guenter Roeck
2026-11-09  8:25 ` [PATCH v2 2/3] hwmon: (nct6775) Avoid reading nonexistent PWM-mode registers Anton Lundin
2026-11-09  8:28   ` sashiko-bot
2026-11-09 16:00   ` Guenter Roeck
2026-11-09  8:25 ` [PATCH v2 3/3] hwmon: (nct6775) Add support for NCT5525 Anton Lundin
2026-11-09  8:35   ` sashiko-bot
2026-11-09 16:02   ` Guenter Roeck

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=sashiko-outbox-204594@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=glance@ac2.se \
    --cc=linux-hwmon@vger.kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.