OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b515316
)
Add missing "struct" to in sizeof.
author
Jesper Nilsson
<jespern@axis.com>
Thu, 28 Oct 2010 10:04:55 +0000
(12:04 +0200)
committer
Jesper Nilsson
<jespern@axis.com>
Thu, 28 Oct 2010 10:13:26 +0000
(12:13 +0200)
Lead to a compile error when the struct was no longer typedef'd.
Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
drivers/serial/crisv10.c
patch
|
blob
|
history
diff --git
a/drivers/serial/crisv10.c
b/drivers/serial/crisv10.c
index
c856905
..
20402c6
100644
(file)
--- a/
drivers/serial/crisv10.c
+++ b/
drivers/serial/crisv10.c
@@
-3731,7
+3731,7
@@
rs_ioctl(struct tty_struct *tty, struct file * file,
/* This is the ioctl to get RS485 data from user-space */
if (copy_to_user((struct serial_rs485 *) arg,
rs485data,
- sizeof(serial_rs485)))
+ sizeof(s
truct s
erial_rs485)))
return -EFAULT;
break;
}