All of lore.kernel.org
 help / color / mirror / Atom feed
From: Guenter Roeck <linux@roeck-us.net>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [GIT PULL] hwmon fixes for v7.4-rc4
Date: Fri, 20 Nov 2026 12:59:44 -0800	[thread overview]
Message-ID: <20261120205946.799247-1-linux@roeck-us.net> (raw)

Hi Linus,

Please pull hwmon fixes for Linux v7.4-rc4 from signed tag:

    git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git hwmon-for-v7.4-rc4

Thanks,
Guenter
------

The following changes since commit aebb7274476403040d582c61478df8f4a7bf9cd3:

  Linux 7.4-rc3 (2026-11-15 14:30:11 -0800)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git tags/hwmon-for-v7.4-rc4

for you to fetch changes up to 449cdc5e29c63aa66b41ce8c2783f6b0d84c62b0:

  hwmon: (ads7871) Add error handle from spi_setup() (2026-11-19 08:50:01 -0800)

----------------------------------------------------------------
hwmon fixes for v7.4-rc4

* Use per-device lockdep keys in the hwmon core to avoid false-positive
  recursive locking warnings when one hwmon device accesses another.

* Fix sysfs attribute struct downcast mismatches on big-endian systems
  that caused out-of-bounds temp1 array accesses in w83791d/w83792d and
  directed all beep writes to channel 0 in nct6775.

* Fix nct6775 fan control: initialize target temperature and tolerance
  masks/limits on NCT6106/6116/6126, fix swapped normal and critical
  temperature tolerance writes, and use tolerance_mask on REG_FAN_MODE.

* Reject dell-smm fan_max values above 255 to avoid allocation count
  wraparound and invalid SMM calls, and reject PWM writes outside 0..255
  to prevent integer overflow from turning fans off.

* Fix 32-bit overflow and bitfield wrap when encoding sht3x alert
  limits, and propagate spi_setup() errors in ads7871 probe before
  accessing registers.

----------------------------------------------------------------
Guenter Roeck (4):
      hwmon: Use per-device lockdep keys
      hwmon: (nct6775) Fix target temp and tolerance for NCT6106/6116/6126
      hwmon: (nct6775) Fix swapped temperature tolerance register writes
      hwmon: (nct6775) Fix tolerance bitmask when reading REG_FAN_MODE

Rosen Penev (2):
      hwmon: (dell-smm) Reject a fan_max that the BIOS cannot take
      hwmon: (dell-smm) Reject out-of-range pwm values

Vítor Hugo Silva (1):
      hwmon: (ads7871) Add error handle from spi_setup()

Wayne Ho (1):
      hwmon: (sht3x) Fix overflow when writing alert limits

Ziheng Wei (3):
      hwmon: (nct6775) Fix incorrect struct cast in beep callbacks
      hwmon: (w83791d) Fix incorrect struct cast in show_temp1() and store_temp1()
      hwmon: (w83792d) Fix incorrect struct cast in show_temp1() and store_temp1()

 drivers/hwmon/ads7871.c        |  4 +++-
 drivers/hwmon/dell-smm-hwmon.c |  9 +++++++++
 drivers/hwmon/hwmon.c          |  7 ++++++-
 drivers/hwmon/nct6775-core.c   | 19 ++++++++++++++-----
 drivers/hwmon/sht3x.c          |  4 ++--
 drivers/hwmon/w83791d.c        |  4 ++--
 drivers/hwmon/w83792d.c        |  4 ++--
 7 files changed, 38 insertions(+), 13 deletions(-)

                 reply	other threads:[~2026-11-20 20:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20261120205946.799247-1-linux@roeck-us.net \
    --to=linux@roeck-us.net \
    --cc=linux-hwmon@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@linux-foundation.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 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.