summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorArmin Wolf <W_Armin@gmx.de>2025-11-10 14:12:53 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-12-01 13:43:30 +0300
commit03f159df3ef8ca33fa7692e132e0207c28ca2e4f (patch)
tree0f884cf82877944efc92848714c3b979d47f6cd2 /Documentation
parent243e2419cfc301a28919021dbda5e42df47046bf (diff)
downloadlinux-03f159df3ef8ca33fa7692e132e0207c28ca2e4f.tar.xz
platform/x86: msi-wmi-platform: Fix typo in WMI GUID
[ Upstream commit 97b726eb1dc2b4a2532544eb3da72bb6acbd39a3 ] The WMI driver core only supports GUID strings containing only uppercase characters, however the GUID string used by the msi-wmi-platform driver contains a single lowercase character. This prevents the WMI driver core from matching said driver to its WMI device. Fix this by turning the lowercase character into a uppercase character. Also update the WMI driver development guide to warn about this. Reported-by: Antheas Kapenekakis <lkml@antheas.dev> Fixes: 9c0beb6b29e7 ("platform/x86: wmi: Add MSI WMI Platform driver") Tested-by: Antheas Kapenekakis <lkml@antheas.dev> Signed-off-by: Armin Wolf <W_Armin@gmx.de> Link: https://patch.msgid.link/20251110111253.16204-3-W_Armin@gmx.de 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 'Documentation')
-rw-r--r--Documentation/wmi/driver-development-guide.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/wmi/driver-development-guide.rst b/Documentation/wmi/driver-development-guide.rst
index 429137b2f632..4c10159d5f6c 100644
--- a/Documentation/wmi/driver-development-guide.rst
+++ b/Documentation/wmi/driver-development-guide.rst
@@ -50,6 +50,7 @@ to matching WMI devices using a struct wmi_device_id table:
::
static const struct wmi_device_id foo_id_table[] = {
+ /* Only use uppercase letters! */
{ "936DA01F-9ABD-4D9D-80C7-02AF85C822A8", NULL },
{ }
};