]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: extable: make uaaccess helper use extable type EX_TYPE_UACCESS_ERR_ZERO
authorTong Tiangen <tongtiangen@huawei.com>
Tue, 21 Jun 2022 07:26:32 +0000 (07:26 +0000)
committerWill Deacon <will@kernel.org>
Tue, 28 Jun 2022 11:11:47 +0000 (12:11 +0100)
commitf9800f5cad85a7b638e37d9145da36261814d0f7
tree7ef6a06759be20a5a12645380f88fece46a5f597
parent58f6cb10d1a5eae7a8671e7ba83bf48bfaf5a551
arm64: extable: make uaaccess helper use extable type EX_TYPE_UACCESS_ERR_ZERO

Currnetly, the extable type used by __arch_copy_from/to_user() is
EX_TYPE_FIXUP. In fact, It is more clearly to use meaningful
EX_TYPE_UACCESS_*.

Suggested-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Tong Tiangen <tongtiangen@huawei.com>
Link: https://lore.kernel.org/r/20220621072638.1273594-5-tongtiangen@huawei.com
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/include/asm/asm-extable.h
arch/arm64/include/asm/asm-uaccess.h