From 2d46baee34a36e3ad6d7f87afba98945ca542265 Mon Sep 17 00:00:00 2001 From: Costantino Leandro Date: Wed, 26 Aug 2009 14:29:28 -0700 Subject: [PATCH] --- yaml --- r: 157111 b: refs/heads/master c: f3d83e2415445e5b157bef404d38674e9e8de169 h: refs/heads/master i: 157109: 9f2bd497bee4b22d0ce4468ccf3bc2e1e7a22339 157107: b030fa5e87b3a850ec49a3a0ab48a340a4f4a55f 157103: b0301f75c4982ef5317e008525bbf22bc7a5c333 v: v3 --- [refs] | 2 +- trunk/drivers/platform/x86/wmi.c | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/[refs] b/[refs] index 3e71ae43168d..8f2d2ae96edb 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: ce8442b55135c679809311997d1446f3bbc05de2 +refs/heads/master: f3d83e2415445e5b157bef404d38674e9e8de169 diff --git a/trunk/drivers/platform/x86/wmi.c b/trunk/drivers/platform/x86/wmi.c index 043b208d971d..f215a5919192 100644 --- a/trunk/drivers/platform/x86/wmi.c +++ b/trunk/drivers/platform/x86/wmi.c @@ -270,7 +270,7 @@ u32 method_id, const struct acpi_buffer *in, struct acpi_buffer *out) acpi_status status; struct acpi_object_list input; union acpi_object params[3]; - char method[4] = "WM"; + char method[5] = "WM"; if (!find_guid(guid_string, &wblock)) return AE_ERROR; @@ -328,8 +328,8 @@ struct acpi_buffer *out) acpi_status status, wc_status = AE_ERROR; struct acpi_object_list input, wc_input; union acpi_object wc_params[1], wq_params[1]; - char method[4]; - char wc_method[4] = "WC"; + char method[5]; + char wc_method[5] = "WC"; if (!guid_string || !out) return AE_BAD_PARAMETER; @@ -410,7 +410,7 @@ const struct acpi_buffer *in) acpi_handle handle; struct acpi_object_list input; union acpi_object params[2]; - char method[4] = "WS"; + char method[5] = "WS"; if (!guid_string || !in) return AE_BAD_DATA;