fix unsafe_put_user()
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 21 May 2017 17:08:42 +0000 (13:08 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 21 May 2017 17:09:57 +0000 (13:09 -0400)
commita7cc722fff0b32bcd28bf4722dff816b0b695f7d
tree0ccfdbc0af990caf6282b7d2d222baf6fe01aa2b
parent2ea659a9ef488125eb46da6eb571de5eae5c43f6
fix unsafe_put_user()

__put_user_size() relies upon its first argument having the same type as what
the second one points to; the only other user makes sure of that and
unsafe_put_user() should do the same.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/x86/include/asm/uaccess.h