[SRU][B/E/OEM-B/OEM-OSP1-B][PATCH 0/1] Fix hp_wmi HPWMI_FEATURE2_QUERY failure

You-Sheng Yang vicamo.yang at canonical.com
Mon Jan 27 08:11:44 UTC 2020


BugLink: https://bugs.launchpad.net/bugs/1860940

[Impact]
On Hewlett-Packard x360 310 G2 convertible laptop,
/sys/devices/platform/hp-wmi/tablet cannot report its current mode:

  # cat /sys/devices/platform/hp-wmi/tablet
  cat: /sys/devices/platform/hp-wmi/tablet: Invalid argument

[Fix]
Commit 133b2acee387 ("platform/x86: hp-wmi: Make buffer for HPWMI_FEATURE2_QUERY
128 bytes") to be cherry-picked to kernels <= v5.4.6.

[Test Case]
Just run `cat /sys/devices/platform/hp-wmi/tablet`.

[Regression Potential]
Low. This affects only HP systems with such buffer length check that
should be fixed.

Hans de Goede (1):
  platform/x86: hp-wmi: Make buffer for HPWMI_FEATURE2_QUERY 128 bytes

 drivers/platform/x86/hp-wmi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.24.0




More information about the kernel-team mailing list