Copying reserved2 field was missed, and signedness of reserved2 field
was chagned. This patch corrected these bugs.
Change-Id: Ia04ead949d34c42392efab2200fc1ca78a0d64b8
Signed-off-by: Janghyuck Kim <janghyuck.kim@samsung.com>
__s32 fd;
} m;
__u32 length;
- __s32 reserved2;
+ __u32 reserved2;
union {
__u32 fence_fd;
__u32 reserved;
copy_in_user(&up->timecode, &kp->timecode, sizeof(kp->timecode)) ||
assign_in_user(&up->sequence, &kp->sequence) ||
assign_in_user(&up->fence_fd, &kp->fence_fd) ||
- assign_in_user(&up->reserved, &kp->reserved) ||
+ assign_in_user(&up->reserved2, &kp->reserved2) ||
get_user(length, &kp->length) ||
put_user(length, &up->length))
return -EFAULT;