Until Kay Sievers bus_id variable length code goes in, this is a
temporary workaround.
---
 drivers/acpi/wmi.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/acpi/wmi.c b/drivers/acpi/wmi.c
index 7662ca5..3467b34 100644
--- a/drivers/acpi/wmi.c
+++ b/drivers/acpi/wmi.c
@@ -832,7 +832,7 @@ static int wmi_create_devs(void)
                gblock = &wblock->gblock;
 
                wmi_gtoa(gblock->guid, guid_string);
-               memcpy(guid_dev->bus_id, guid_string, 36);
+               memcpy(guid_dev->bus_id, guid_string, 19);
 
                result = device_register(guid_dev);
                if (result)
-- 
1.5.3.4

-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to