From ddacd3d43b203e7c66ec366820e2a230b7e3aa67 Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Tue, 3 Dec 2019 16:35:45 +0200 Subject: [PATCH] intel/perf: fix improper pointer access This expression was unused by the macro, probably why it didn't register in the compilation. Signed-off-by: Lionel Landwerlin Cc: Reviewed-by: Mark Janes Reviewed-by: Kenneth Graunke --- src/intel/perf/gen_perf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intel/perf/gen_perf.c b/src/intel/perf/gen_perf.c index 0aa3845a29c..4c47aa6dcf2 100644 --- a/src/intel/perf/gen_perf.c +++ b/src/intel/perf/gen_perf.c @@ -2296,7 +2296,7 @@ accumulate_oa_reports(struct gen_perf_context *perf_ctx, first_samples_node = query->oa.samples_head->next; foreach_list_typed_from(struct oa_sample_buf, buf, link, - &perf_ctx.sample_buffers, + &perf_ctx->sample_buffers, first_samples_node) { int offset = 0; -- 2.30.2