[PATCH 2/2] arm/arm64: KVM: fix two build failured under STRICT_MM_TYPECHECKS

Marc Zyngier marc.zyngier at arm.com
Wed Jul 1 03:56:34 PDT 2015

On 30/06/15 18:03, Catalin Marinas wrote:
> On Tue, Jun 30, 2015 at 06:04:50PM +0200, Ard Biesheuvel wrote:
>> This fixes two instances where a pgprot_t is used as the operand
>> of a bitwise & operation. In order to comply with STRICT_MM_TYPECHECKS,
>> bitwise arithmetic on a pgprot_t should go via the pgprot_val()
>> accessor.
>> Cc: kvmarm at lists.cs.columbia.edu
>> Signed-off-by: Ard Biesheuvel <ard.biesheuvel at linaro.org>
> Acked-by: Catalin Marinas <catalin.marinas at arm.com>
> (I guess it will go via the kvm tree)

Yes, I'll queue it.


Jazz is not dead. It just smells funny...

More information about the linux-arm-kernel mailing list