Re: [PATCH] KVM: vmx: rename pi_init to avoid conflict with paride

From: Jens Axboe
Date: Sat Oct 24 2020 - 11:18:40 EST


On 10/24/20 2:10 AM, Paolo Bonzini wrote:
> allyesconfig results in:
>
> ld: drivers/block/paride/paride.o: in function `pi_init':
> (.text+0x1340): multiple definition of `pi_init'; arch/x86/kvm/vmx/posted_intr.o:posted_intr.c:(.init.text+0x0): first defined here
> make: *** [Makefile:1164: vmlinux] Error 1
>
> because commit:
>
> commit 8888cdd0996c2d51cd417f9a60a282c034f3fa28
> Author: Xiaoyao Li <xiaoyao.li@xxxxxxxxx>
> Date: Wed Sep 23 11:31:11 2020 -0700
>
> KVM: VMX: Extract posted interrupt support to separate files
>
> added another pi_init(), though one already existed in the paride code.

Thanks, works for me.

--
Jens Axboe