Skip to content
Snippets Groups Projects
Commit e6705f7c authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Theodore Ts'o
Browse files

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: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
parent e0cbee3e
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment