aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorJames Seo <[email protected]>2023-11-22 21:49:19 -0800
committerGuenter Roeck <[email protected]>2023-12-11 06:21:01 -0800
commitc9ba592580947b81f33f514320aeef02ddc001fd (patch)
treefda8252579eaf2a104366ba7173ae1c75fea332e /tools/perf/scripts/python/bin
parentf07f9d2467f4a298d24e186ddee6f69724903067 (diff)
hwmon: (hp-wmi-sensors) Fix failure to load on EliteDesk 800 G6
The EliteDesk 800 G6 stores a raw WMI string within the ACPI object in its BIOS corresponding to one instance of HPBIOS_PlatformEvents.Name. This is evidently a valid way of representing a WMI data item as far as the Microsoft ACPI-WMI mapper is concerned, but is preventing the driver from loading. This seems quite rare, but add support for such strings. Treating this as a quirk pretty much means adding that support anyway. Also clean up an oversight in update_numeric_sensor_from_wobj() in which the result of hp_wmi_strdup() was being used without error checking. Reported-by: Lukasz Stelmach <[email protected]> Closes: https://lore.kernel.org/linux-hwmon/[email protected]/ Tested-by: Lukasz Stelmach <[email protected]> Signed-off-by: James Seo <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions