]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: asm/perf_regs.h: Avoid C++-style comment in UAPI header
authorWill Deacon <will@kernel.org>
Thu, 22 Sep 2022 21:11:10 +0000 (22:11 +0100)
committerWill Deacon <will@kernel.org>
Thu, 22 Sep 2022 21:15:33 +0000 (22:15 +0100)
commitec3345060f08f3ccf8472c7c0221476971cd650b
tree0e4250c4244e936fc45170078e759d6223317b7e
parent4cb5214322d57b6f853c7954fd95a5234cc0513d
arm64: asm/perf_regs.h: Avoid C++-style comment in UAPI header

An arm64 'allmodconfig' build fails with GCC due to use of a C++-style
comment for the new SVE vector granule 'enum perf_event_arm_regs' entry:

  | /usr/include/asm/perf_regs.h:42:26: error: C++ style comments are not allowed in ISO C90

Use good ol' /* */ comment syntax to keep things rosey.

Link: https://lore.kernel.org/r/632cceb2.170a0220.599ec.0a3a@mx.google.com
Fixes: 81ff2ff40347 ("perf: arm64: Add SVE vector granule register to user regs")
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/include/uapi/asm/perf_regs.h