[PATCH 06/19] KVM: arm64: Get rid of reg_from/to_user()

Reiji Watanabe reijiw at google.com
Mon Jul 11 21:34:38 PDT 2022


On Wed, Jul 6, 2022 at 9:43 AM Marc Zyngier <maz at kernel.org> wrote:
>
> These helpers are only used by the invariant stuff now, and while
> they pretend to support non-64bit registers, this only serves as
> a way to scare the casual reviewer...
>
> Replace these helpers with our good friends get/put_user(), and
> don't look back.
>
> Signed-off-by: Marc Zyngier <maz at kernel.org>

Reviewed-by: Reiji Watanabe <reijiw at google.com>



More information about the linux-arm-kernel mailing list