[PATCH] arm64: uaccess: correct thinko in __get_mem_asm()

Catalin Marinas catalin.marinas at arm.com
Wed Aug 14 09:54:06 PDT 2024


On Wed, 07 Aug 2024 11:37:31 +0100, Mark Rutland wrote:
> In the CONFIG_CC_HAS_ASM_GOTO_OUTPUT=y version of __get_mem_asm(), we
> incorrectly use _ASM_EXTABLE_##type##ACCESS_ERR() such that upon a fault
> the extable fixup handler writes -EFAULT into "%w0", which is the
> register containing 'x' (the result of the load).
> 
> This was a thinko in commit:
> 
> [...]

Applied to arm64 (for-next/fixes), thanks!

[1/1] arm64: uaccess: correct thinko in __get_mem_asm()
      https://git.kernel.org/arm64/c/f94511df53bb

-- 
Catalin




More information about the linux-arm-kernel mailing list