Thread (3 messages) 3 messages, 3 authors, 2021-09-29

Re: [PATCH v2] arm64/traps: Avoid unnecessary kernel/user pointer conversion

flat view

From: Will Deacon <will@kernel.org>
Date: 2021-09-29 17:48:37
Also in: lkml

On Fri, 17 Sep 2021 11:28:11 +0530, Amit Daniel Kachhap wrote:
Annotating a pointer from kernel to __user and then back again requires
an extra __force annotation to silent sparse warning. In call_undef_hook()
this unnecessary complexity can be avoided by modifying the intermediate
user pointer to unsigned long.

This way there is no inter-changeable use of user and kernel pointers
and the code is consistent.

[...]
Applied to arm64 (for-next/misc), thanks!

[1/1] arm64/traps: Avoid unnecessary kernel/user pointer conversion
      https://git.kernel.org/arm64/c/f5b650f887f3

Cheers,
-- 
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help