diff options
| author | Ingo Molnar <mingo@elte.hu> | 2009-09-04 03:28:52 -0400 |
|---|---|---|
| committer | Ingo Molnar <mingo@elte.hu> | 2009-09-04 03:29:05 -0400 |
| commit | 29e2035bddecce3eb584a8304528b50da8370a24 (patch) | |
| tree | 13155df7d90a8e287b83a1cd6c0d02c3018212ab /drivers/platform | |
| parent | 868489660dabc0c28087cca3dbc1adbbc398c6fe (diff) | |
| parent | 37d0892c5a94e208cf863e3b7bac014edee4346d (diff) | |
Merge branch 'linus' into core/rcu
Merge reason: Avoid fuzz in init/main.c and update from rc6 to rc8.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'drivers/platform')
| -rw-r--r-- | drivers/platform/x86/toshiba_acpi.c | 1 | ||||
| -rw-r--r-- | drivers/platform/x86/wmi.c | 8 |
2 files changed, 5 insertions, 4 deletions
diff --git a/drivers/platform/x86/toshiba_acpi.c b/drivers/platform/x86/toshiba_acpi.c index 81d31ea507d1..51c0a8bee414 100644 --- a/drivers/platform/x86/toshiba_acpi.c +++ b/drivers/platform/x86/toshiba_acpi.c | |||
| @@ -335,6 +335,7 @@ static void bt_rfkill_poll(struct rfkill *rfkill, void *data) | |||
| 335 | if (hci_result != HCI_SUCCESS) { | 335 | if (hci_result != HCI_SUCCESS) { |
| 336 | /* Can't do anything useful */ | 336 | /* Can't do anything useful */ |
| 337 | mutex_unlock(&dev->mutex); | 337 | mutex_unlock(&dev->mutex); |
| 338 | return; | ||
| 338 | } | 339 | } |
| 339 | 340 | ||
| 340 | new_rfk_state = value; | 341 | new_rfk_state = value; |
diff --git a/drivers/platform/x86/wmi.c b/drivers/platform/x86/wmi.c index 043b208d971d..f215a5919192 100644 --- a/drivers/platform/x86/wmi.c +++ b/drivers/platform/x86/wmi.c | |||
| @@ -270,7 +270,7 @@ u32 method_id, const struct acpi_buffer *in, struct acpi_buffer *out) | |||
| 270 | acpi_status status; | 270 | acpi_status status; |
| 271 | struct acpi_object_list input; | 271 | struct acpi_object_list input; |
| 272 | union acpi_object params[3]; | 272 | union acpi_object params[3]; |
| 273 | char method[4] = "WM"; | 273 | char method[5] = "WM"; |
| 274 | 274 | ||
| 275 | if (!find_guid(guid_string, &wblock)) | 275 | if (!find_guid(guid_string, &wblock)) |
| 276 | return AE_ERROR; | 276 | return AE_ERROR; |
| @@ -328,8 +328,8 @@ struct acpi_buffer *out) | |||
| 328 | acpi_status status, wc_status = AE_ERROR; | 328 | acpi_status status, wc_status = AE_ERROR; |
| 329 | struct acpi_object_list input, wc_input; | 329 | struct acpi_object_list input, wc_input; |
| 330 | union acpi_object wc_params[1], wq_params[1]; | 330 | union acpi_object wc_params[1], wq_params[1]; |
| 331 | char method[4]; | 331 | char method[5]; |
| 332 | char wc_method[4] = "WC"; | 332 | char wc_method[5] = "WC"; |
| 333 | 333 | ||
| 334 | if (!guid_string || !out) | 334 | if (!guid_string || !out) |
| 335 | return AE_BAD_PARAMETER; | 335 | return AE_BAD_PARAMETER; |
| @@ -410,7 +410,7 @@ const struct acpi_buffer *in) | |||
| 410 | acpi_handle handle; | 410 | acpi_handle handle; |
| 411 | struct acpi_object_list input; | 411 | struct acpi_object_list input; |
| 412 | union acpi_object params[2]; | 412 | union acpi_object params[2]; |
| 413 | char method[4] = "WS"; | 413 | char method[5] = "WS"; |
| 414 | 414 | ||
| 415 | if (!guid_string || !in) | 415 | if (!guid_string || !in) |
| 416 | return AE_BAD_DATA; | 416 | return AE_BAD_DATA; |
