Re: [PATCH 0/4] Fixes for gcc 16.0.1

From: Ian Rogers

Date: Tue Jan 20 2026 - 18:42:54 EST


On Tue, Jan 20, 2026 at 2:11 PM Arnaldo Carvalho de Melo
<acme@xxxxxxxxxx> wrote:
>
> From: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
>
> Hi,
>
> A bunch of fixes for recent gcc versions,
>
> - Arnaldo

Reviewed-by: Ian Rogers <irogers@xxxxxxxxxx>

These look like the least bad resolutions to the new warnings, thanks!
Ian

> Arnaldo Carvalho de Melo (4):
> perf tests sw-clock: Mark the volatile tmp variable as __maybe_unused
> perf trace: Deal with compiler const checks
> perf list: Don't write to const memory
> perf list: Signal changing const memory is ok
>
> tools/perf/builtin-trace.c | 2 +-
> tools/perf/tests/sw-clock.c | 3 ++-
> tools/perf/util/print-events.c | 15 ++++++---------
> 3 files changed, 9 insertions(+), 11 deletions(-)
>
> --
> 2.52.0
>