提交 94479c01 编写于 作者: J Jesper Nilsson

Add missing "struct" to in sizeof.

Lead to a compile error when the struct was no longer typedef'd.
Signed-off-by: NJesper Nilsson <jesper.nilsson@axis.com>
上级 b5153163
......@@ -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(struct serial_rs485)))
return -EFAULT;
break;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册