Commit bbf9f7c5 authored by Andrew Morton's avatar Andrew Morton Committed by Len Brown

[PATCH] drivers/acpi/sleep/proc.c warnings

drivers/acpi/sleep/proc.c:359: warning: initialization from incompatible pointer type
drivers/acpi/sleep/proc.c:367: warning: initialization from incompatible pointer type
parent ad7272b8
...@@ -44,10 +44,10 @@ static int acpi_system_sleep_open_fs(struct inode *inode, struct file *file) ...@@ -44,10 +44,10 @@ static int acpi_system_sleep_open_fs(struct inode *inode, struct file *file)
return single_open(file, acpi_system_sleep_seq_show, PDE(inode)->data); return single_open(file, acpi_system_sleep_seq_show, PDE(inode)->data);
} }
static int static ssize_t
acpi_system_write_sleep ( acpi_system_write_sleep (
struct file *file, struct file *file,
const char *buffer, const char __user *buffer,
size_t count, size_t count,
loff_t *ppos) loff_t *ppos)
{ {
...@@ -189,10 +189,10 @@ get_date_field ( ...@@ -189,10 +189,10 @@ get_date_field (
} }
static int static ssize_t
acpi_system_write_alarm ( acpi_system_write_alarm (
struct file *file, struct file *file,
const char *buffer, const char __user *buffer,
size_t count, size_t count,
loff_t *ppos) 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