[PATCH 14/19] KVM: arm64: vgic: Use {get, put}_user() instead of copy_{from.to}_user

Reiji Watanabe reijiw at google.com
Wed Jul 13 22:09:32 PDT 2022


On Wed, Jul 6, 2022 at 10:05 AM Marc Zyngier <maz at kernel.org> wrote:
>
> Tidy-up vgic_get_common_attr() and vgic_set_common_attr() to use
> {get,put}_user() instead of the more complex (and less type-safe)
> copy_{from,to}_user().
>
> 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