[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <163293026050.926465.15015359578646677100.b4-ty@kernel.org>
Date: Wed, 29 Sep 2021 18:48:22 +0100
From: Will Deacon <will@...nel.org>
To: Amit Daniel Kachhap <amit.kachhap@....com>,
linux-arm-kernel@...ts.infradead.org
Cc: catalin.marinas@....com, kernel-team@...roid.com,
Will Deacon <will@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Vincenzo Frascino <Vincenzo.Frascino@....com>,
Kevin Brodsky <kevin.brodsky@....com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] arm64/traps: Avoid unnecessary kernel/user pointer conversion
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
Powered by blists - more mailing lists