]> 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)
commit19f4a5157ffa03ccd2ea01d68c6962fb771778e7
tree95f362226c5ecd05cc93e40a13b57e26070941b7
parent0f38cf12127a1c78d09dfc5511c236afac3b7895
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 53e693b061ae ("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