Re: build failure of next-20220923 due to cbb0c02caf4b ("perf: arm64: Add SVE vector granule register to user regs")

From: Will Deacon
Date: Fri Sep 23 2022 - 08:33:55 EST


On Fri, Sep 23, 2022 at 12:42:37PM +0100, Sudip Mukherjee (Codethink) wrote:
> Hi All,
>
> A native build of next-20220923 on arm64 host has failed with the error:
>
> ./usr/include/asm/perf_regs.h:42:26: error: C++ style comments are not allowed in ISO C90
> 42 | PERF_REG_ARM64_VG = 46, // SVE Vector Granule
> | ^
> ./usr/include/asm/perf_regs.h:42:26: note: (this will be reported only once per input file)
>
> I have not bisected but I think it will be from cbb0c02caf4b ("perf: arm64: Add SVE vector granule register to user regs").
>
> I will be happy to test any patch or provide any extra log if needed.

I had a crack at fixing this last night when it was first reported, so
hopefully the next -next will be alright.

Will