Commit 0ad8699a authored by Linus Torvalds's avatar Linus Torvalds

sparse: fix up futex address space warning

parent de9aa967
......@@ -354,7 +354,7 @@ static int futex_requeue(unsigned long uaddr1, unsigned long uaddr2,
before *uaddr1. */
smp_mb();
if (get_user(curval, (int *)uaddr1) != 0) {
if (get_user(curval, (int __user *)uaddr1) != 0) {
ret = -EFAULT;
goto out;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment