From: Carlos Corbacho <carlos@strangeworlds.co.uk>
To: linux-acpi@vger.kernel.org
Cc: Len Brown <lenb@kernel.org>, Matthew Garrett <mjg59@srcf.ucam.org>
Subject: [PATCH 5/5] [WIP] ACPI: WMI: Limit size of device string to 19 characters
Date: Thu, 27 Dec 2007 15:38:31 +0000 [thread overview]
Message-ID: <20071227153831.4974.51300.stgit@pacifica> (raw)
In-Reply-To: <20071227153803.4974.97907.stgit@pacifica>
Until Kay Sievers bus_id variable length code goes in, this is a
temporary workaround.
NOT-Signed-Off-By: Carlos Corbacho <carlos@strangeworlds.co.uk>
CC: Len Brown <lenb@kernel.org>
CC: Matthew Garrett <mjg59@srcf.ucam.org>
---
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 52015ba..b922fd1 100644
--- a/drivers/acpi/wmi.c
+++ b/drivers/acpi/wmi.c
@@ -864,7 +864,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)
next prev parent reply other threads:[~2007-12-27 15:38 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-27 15:38 [PATCH 0/5] WMI Carlos Corbacho
2007-12-27 15:38 ` [PATCH 1/5] ACPI: WMI: Add ACPI-WMI mapping driver Carlos Corbacho
2007-12-27 15:38 ` [PATCH 2/5] acer-wmi: Add driver for newer Acer laptops Carlos Corbacho
2007-12-27 15:38 ` [PATCH 3/5] [RFC] tc1100-wmi: Add driver for HP Compaq TC1100 Tablets Carlos Corbacho
2007-12-27 15:38 ` [PATCH 4/5] [RFC] ACPI: WMI: Add sysfs userspace interface Carlos Corbacho
2007-12-27 15:38 ` Carlos Corbacho [this message]
2008-01-06 1:39 ` [PATCH 0/5] WMI Carlos Corbacho
-- strict thread matches above, loose matches on Subject: below --
2008-02-02 12:17 [PATCH 0/5] WMI patches for acpi-test Carlos Corbacho
2008-02-02 12:17 ` [PATCH 5/5] [WIP] ACPI: WMI: Limit size of device string to 19 characters Carlos Corbacho
2008-01-18 23:58 [PATCH 0/5] WMI Carlos Corbacho
2008-01-18 23:58 ` [PATCH 5/5] [WIP] ACPI: WMI: Limit size of device string to 19 characters Carlos Corbacho
2008-01-12 2:20 [PATCH 0/5] WMI Carlos Corbacho
2008-01-12 2:20 ` [PATCH 5/5] [WIP] ACPI: WMI: Limit size of device string to 19 characters Carlos Corbacho
2007-12-17 0:23 [PATCH 0/5] WMI Carlos Corbacho
2007-12-17 0:23 ` [PATCH 5/5] [WIP] ACPI: WMI: Limit size of device string to 19 characters Carlos Corbacho
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20071227153831.4974.51300.stgit@pacifica \
--to=carlos@strangeworlds.co.uk \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=mjg59@srcf.ucam.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.