aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/serial/crisv10.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/crisv10.c b/drivers/serial/crisv10.c
index c856905bb3bd..20402c604c10 100644
--- a/drivers/serial/crisv10.c
+++ b/drivers/serial/crisv10.c
@@ -3731,7 +3731,7 @@ rs_ioctl(struct tty_struct *tty, struct file * file,
3731 /* This is the ioctl to get RS485 data from user-space */ 3731 /* This is the ioctl to get RS485 data from user-space */
3732 if (copy_to_user((struct serial_rs485 *) arg, 3732 if (copy_to_user((struct serial_rs485 *) arg,
3733 rs485data, 3733 rs485data,
3734 sizeof(serial_rs485))) 3734 sizeof(struct serial_rs485)))
3735 return -EFAULT; 3735 return -EFAULT;
3736 break; 3736 break;
3737 } 3737 }