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

Kleber Souza kleber.souza at canonical.com
Fri Feb 7 17:32:20 UTC 2020


On 2020-01-27 05:11, You-Sheng Yang wrote:
> 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(-)
> 

Acked-by: Kleber Sacilotto de Souza <kleber.souza at canonical.com>



More information about the kernel-team mailing list