Re: stable-rc / queue : 5.15: arm64 build failed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Mon, 3 Apr 2023 at 18:35, Greg Kroah-Hartman
<gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
>
> On Mon, Apr 03, 2023 at 03:47:11PM +0530, Naresh Kamboju wrote:
> > Following build warning noticed on arm64,
> >
> > Reported-by: Linux Kernel Functional Testing <lkft@xxxxxxxxxx>
> >

This patch is now in queue 5.15,

> > suspecting commit:
> > KVM: arm64: PMU: Fix GET_ONE_REG for vPMC regs to return the current value
> > commit 9228b26194d1cc00449f12f306f53ef2e234a55b upstream.
>
> Now dropped, thanks!

I have started noticing this build error again on queue 5.15.

arch/arm64/kvm/sys_regs.c:1671:43: error: initialization of 'int
(*)(struct kvm_vcpu *, const struct sys_reg_desc *, const struct
kvm_one_reg *, void *)' from incompatible pointer type 'int (*)(struct
kvm_vcpu *, const struct sys_reg_desc *, u64 *)' {aka 'int (*)(struct
kvm_vcpu *, const struct sys_reg_desc *, long long unsigned int *)'}
[-Werror=incompatible-pointer-types]
 1671 |           .reg = PMCCNTR_EL0, .get_user = get_pmu_evcntr},
      |                                           ^~~~~~~~~~~~~~
arch/arm64/kvm/sys_regs.c:1671:43: note: (near initialization for
'sys_reg_descs[224].__get_user')
arch/arm64/kvm/sys_regs.c:999:48: error: initialization of 'int
(*)(struct kvm_vcpu *, const struct sys_reg_desc *, const struct
kvm_one_reg *, void *)' from incompatible pointer type 'int (*)(struct
kvm_vcpu *, const struct sys_reg_desc *, u64 *)' {aka 'int (*)(struct
kvm_vcpu *, const struct sys_reg_desc *, long long unsigned int *)'}
[-Werror=incompatible-pointer-types]
  999 |           .reset = reset_pmevcntr, .get_user = get_pmu_evcntr,
         \
      |                                                ^~~~


https://qa-reports.linaro.org/lkft/linux-stable-rc-queues-queue_5.15/build/v5.15.105-187-ga996798ba4fa/testrun/16173915/suite/build/test/gcc-11-defconfig-lkftconfig/history/


- Naresh

>
> greg k-h



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux