]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: uaccess: Cleanup get/put_user()
authorJulien Thierry <julien.thierry@arm.com>
Tue, 15 Jan 2019 13:58:26 +0000 (13:58 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 25 Jan 2019 12:30:46 +0000 (12:30 +0000)
commite322b8d648be547113f71fc8cb28f5ac2e299bf1
treecb9e8dfa54f6c8da5b3f41f8c4be5c61cbfd0200
parent5de689ec0152a589df637a65d6aeee9b07871373
arm64: uaccess: Cleanup get/put_user()

__get/put_user_check() macro is made to return a value but this is never
used. Get rid of them and just use directly __get/put_user_error() as
a statement, reducing macro indirection.

Also, take this opportunity to rename __get/put_user_err() as it gets
a bit confusing having them along __get/put_user_error().

Signed-off-by: Julien Thierry <julien.thierry@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/uaccess.h