Loading fs/compat_ioctl.c +1 −1 Original line number Diff line number Diff line Loading @@ -785,7 +785,7 @@ static int sg_ioctl_trans(unsigned int fd, unsigned int cmd, unsigned long arg) if (copy_in_user(&sgio->status, &sgio32->status, (4 * sizeof(unsigned char)) + (2 * sizeof(unsigned (short))) + (2 * sizeof(unsigned short)) + (3 * sizeof(int)))) return -EFAULT; Loading Loading
fs/compat_ioctl.c +1 −1 Original line number Diff line number Diff line Loading @@ -785,7 +785,7 @@ static int sg_ioctl_trans(unsigned int fd, unsigned int cmd, unsigned long arg) if (copy_in_user(&sgio->status, &sgio32->status, (4 * sizeof(unsigned char)) + (2 * sizeof(unsigned (short))) + (2 * sizeof(unsigned short)) + (3 * sizeof(int)))) return -EFAULT; Loading