Commit 767b5828ad9a1b435488b5d39b5a66aeef4d25e4

Authored by Al Viro
Committed by Linus Torvalds
1 parent 082256333f

braino in sg_ioctl_trans()

... and yes, gcc is insane enough to eat that without complaint.
We probably want sparse to scream on those...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -785,7 +785,7 @@
785 785  
786 786 if (copy_in_user(&sgio->status, &sgio32->status,
787 787 (4 * sizeof(unsigned char)) +
788   - (2 * sizeof(unsigned (short))) +
  788 + (2 * sizeof(unsigned short)) +
789 789 (3 * sizeof(int))))
790 790 return -EFAULT;
791 791