]> git.baikalelectronics.ru Git - kernel.git/commit
x86: get rid of 'errret' argument to __get_user_xyz() macross
authorLinus Torvalds <torvalds@linux-foundation.org>
Wed, 1 Apr 2020 01:23:47 +0000 (18:23 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 1 Apr 2020 01:23:47 +0000 (18:23 -0700)
commitd9adf535ab7bd4e7737d6bec1a410aed30eb1758
tree95f362226c5ecd05cc93e40a13b57e26070941b7
parentd20662f2b6ba8279930c5585226cf4a0e9f3f04a
x86: get rid of 'errret' argument to __get_user_xyz() macross

Every remaining user just has the error case returning -EFAULT.

In fact, the exception was __get_user_asm_nozero(), which was removed in
commit c6dad7aba079 ("x86: get rid of small constant size cases in
raw_copy_{to,from}_user()"), and the other __get_user_xyz() macros just
followed suit for consistency.

Fix up some macro whitespace while at it.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/x86/include/asm/uaccess.h