Re: [PATCH RESEND v1] thermal: core: fix blocking in unregistering zone
From: Guenter Roeck
Date: Fri Apr 03 2026 - 10:27:08 EST
On 4/3/26 05:52, Rafael J. Wysocki wrote:
.[ ... ]
It appears to work for me, but I'm not sure if having multiple hwmon class
devices with the same value in the name attribute is fine.
Like this ?
$ cd /sys/class/hwmon
$ grep . */name
hwmon0/name:r8169_0_c00:00
hwmon1/name:nvme
hwmon2/name:nvme
hwmon3/name:nct6687
hwmon4/name:k10temp
hwmon5/name:spd5118
hwmon6/name:spd5118
hwmon7/name:spd5118
hwmon8/name:spd5118
hwmon9/name:mt7921_phy0
Names such as "r8169_0_c00:00" and "mt7921_phy0" are actually overkill
since the "sensors" command makes it
r8169_0_c00:00-mdio-0
Adapter: MDIO adapter
temp1: +36.0°C (high = +120.0°C)
mt7921_phy0-pci-0d00
Adapter: PCI adapter
temp1: +30.0°C
essentially duplicating the device index.
Thanks,
Guenter