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:
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
|
blame
|
history
diff --git
a/drivers/serial/crisv10.c
b/drivers/serial/crisv10.c
index c856905bb3bdfc3105ac5eff30de5aad2160c265..20402c604c10fc0a887a1803979f888f1139405c 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;
}