projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59e3344
)
greybus: es1: fix build warning for apb1_log_enable_write
author
Greg Kroah-Hartman
<greg@kroah.com>
Tue, 24 Mar 2015 18:55:14 +0000
(19:55 +0100)
committer
Greg Kroah-Hartman
<greg@kroah.com>
Tue, 24 Mar 2015 18:57:53 +0000
(19:57 +0100)
It's "const char __user *buf", not "char __user *buf".
'make check' is your friend.
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/staging/greybus/es1.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/staging/greybus/es1.c
b/drivers/staging/greybus/es1.c
index 9ad8a76d33ac50841e3417f4532a6fa56b826d95..8de005ba1e8dad173be452377803aeb14b0647d3 100644
(file)
--- a/
drivers/staging/greybus/es1.c
+++ b/
drivers/staging/greybus/es1.c
@@
-579,7
+579,7
@@
static ssize_t apb1_log_enable_read(struct file *f, char __user *buf,
return simple_read_from_buffer(buf, count, ppos, tmp_buf, 3);
}
-static ssize_t apb1_log_enable_write(struct file *f, char __user *buf,
+static ssize_t apb1_log_enable_write(struct file *f, c
onst c
har __user *buf,
size_t count, loff_t *ppos)
{
int enable;