diff options
author | Mark Pearson <mpearson-lenovo@squebb.ca> | 2025-05-20 03:50:18 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-05-29 12:14:07 +0300 |
commit | 3d4fe1fb9739bae778032896084bc770e3325dc1 (patch) | |
tree | 2ecebeeb859d984c8966741c221de72661195418 /scripts/gdb/linux/xarray.py | |
parent | ff7fdc2e282534aac04650b8cca5dcdf7682c67f (diff) | |
download | linux-3d4fe1fb9739bae778032896084bc770e3325dc1.tar.xz |
platform/x86: think-lmi: Fix attribute name usage for non-compliant items
[ Upstream commit 8508427a6e21c1ef01ae4c9f4e2675fc99deb949 ]
A few, quite rare, WMI attributes have names that are not compatible with
filenames, e.g. "Intel VT for Directed I/O (VT-d)".
For these cases the '/' gets replaced with '\' for display, but doesn't
get switched again when doing the WMI access.
Fix this by keeping the original attribute name and using that for sending
commands to the BIOS
Fixes: a40cd7ef22fb ("platform/x86: think-lmi: Add WMI interface support on Lenovo platforms")
Signed-off-by: Mark Pearson <mpearson-lenovo@squebb.ca>
Link: https://lore.kernel.org/r/20250520005027.3840705-1-mpearson-lenovo@squebb.ca
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/xarray.py')
0 files changed, 0 insertions, 0 deletions