ext4: add __user decoration to calls of copy_{from,to}_user()
authorH Hartley Sweeten <hartleys@visionengravers.com>
Tue, 18 Oct 2011 14:59:51 +0000 (10:59 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 18 Oct 2011 14:59:51 +0000 (10:59 -0400)
commite6705f7c255d1ffae7cd161d0b657296f4dd62fd
tree3c604c5c4b5221f794714aa9c8e926726bbb8c6e
parente0cbee3e14195ef07b8ab6ff30930fb93d2e510a
ext4: add __user decoration to calls of copy_{from,to}_user()

This quiets the sparse noise:

warning: incorrect type in argument 2 (different address spaces)
   expected void const [noderef] <asn:1>*from
   got struct fstrim_range *<noident>
warning: incorrect type in argument 1 (different address spaces)
   expected void [noderef] <asn:1>*to
   got struct fstrim_range *<noident>

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/ioctl.c