[Linux PPC] 7.0-rc1: e500_mmu.c:923:26: error: assignment to 'struct tlbe_priv *' from incompatible pointer type 'struct tlbe_ref *'
Christian Zigotzky <[email protected]> Mon, 23 Feb 2026 17:48:48 +0100
| Newsgroups | org.kernel.vger.kvm-ppc,org.ozlabs.lists.linuxppc-dev |
|---|---|
| Message-ID | <[email protected]> |
Hello, Compiling issue for e5500 machines for the RC1 of kernel 7.0: arch/powerpc/kvm/e500_mmu.c: In function 'kvmppc_e500_tlb_init': arch/powerpc/kvm/e500_mmu.c:923:26: error: assignment to 'struct tlbe_priv *' from incompatible pointer type 'struct tlbe_ref *' [-Werror=incompatible-pointer-types] 923 | vcpu_e500->gtlb_priv[0] = kzalloc_objs(struct tlbe_ref, | ^ arch/powerpc/kvm/e500_mmu.c:928:26: error: assignment to 'struct tlbe_priv *' from incompatible pointer type 'struct tlbe_ref *' [-Werror=incompatible-pointer-types] 928 | vcpu_e500->gtlb_priv[1] = kzalloc_objs(struct tlbe_ref, Temporary solution: # CONFIG_VIRTUALIZATION is not set Please solve this issue. Thanks, Christian