Commit 057b63e2 authored by Len Brown's avatar Len Brown Committed by Len Brown

[ACPI] acpi_system_write_wakeup_device() has the wrong return type

and is missing the __user attribution from its buffer argument.
This patch shuts up the resulting warnings on x86-64.

From: William Lee Irwin III <wli@holomorphy.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
parent 06df8085
......@@ -384,10 +384,10 @@ acpi_system_wakeup_device_seq_show(struct seq_file *seq, void *offset)
return 0;
}
static int
static ssize_t
acpi_system_write_wakeup_device (
struct file *file,
const char *buffer,
const char __user *buffer,
size_t count,
loff_t *ppos)
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment