Re: [PATCH] KVM: arm64: Drop 'const' from argument of vq_present()

From: Marc Zyngier
Date: Tue Jun 04 2019 - 04:34:28 EST


On 04/06/2019 05:43, Viresh Kumar wrote:
> We currently get following compilation warning:
>
> arch/arm64/kvm/guest.c: In function 'set_sve_vls':
> arch/arm64/kvm/guest.c:262:18: warning: passing argument 1 of 'vq_present' from incompatible pointer type
> arch/arm64/kvm/guest.c:212:13: note: expected 'const u64 (* const)[8]' but argument is of type 'u64 (*)[8]'

Using which toolchain? My GCC 8.3.0 doesn't say anything.

Thanks,

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