git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
patch-2_6_7-vs1_9_1_12
[linux-2.6.git]
/
drivers
/
s390
/
char
/
con3215.c
diff --git
a/drivers/s390/char/con3215.c
b/drivers/s390/char/con3215.c
index
0e724c8
..
e92bb94
100644
(file)
--- a/
drivers/s390/char/con3215.c
+++ b/
drivers/s390/char/con3215.c
@@
-1002,7
+1002,8
@@
tty3215_write(struct tty_struct * tty, int from_user,
ret = 0;
while (count > 0) {
length = count < 80 ? count : 80;
- length -= copy_from_user(raw->ubuffer, buf, length);
+ length -= copy_from_user(raw->ubuffer,
+ (const unsigned char __user *)buf, length);
if (length == 0) {
if (!ret)
ret = -EFAULT;