[PATCH] tests/intel/xe_pmu : Dereferencing fix
Ravi Kishore Koppuravuri
ravi.kishore.koppuravuri at intel.com
Mon Apr 28 05:58:31 UTC 2025
Fix for wrong dereferencing
Signed-off-by: Ravi Kishore Koppuravuri <ravi.kishore.koppuravuri at intel.com>
---
tests/intel/xe_pmu.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/intel/xe_pmu.c b/tests/intel/xe_pmu.c
index 589c7cbde..094dc0c6c 100644
--- a/tests/intel/xe_pmu.c
+++ b/tests/intel/xe_pmu.c
@@ -527,8 +527,8 @@ static void stash_gt_freq(int fd, uint32_t **stash_min, uint32_t **stash_max)
igt_skip_on(*stash_min == NULL || *stash_max == NULL);
xe_for_each_gt(fd, gt) {
- *stash_min[gt] = xe_gt_get_freq(fd, gt, "min");
- *stash_max[gt] = xe_gt_get_freq(fd, gt, "max");
+ (*stash_min)[gt] = xe_gt_get_freq(fd, gt, "min");
+ (*stash_max)[gt] = xe_gt_get_freq(fd, gt, "max");
}
}
--
2.34.1
More information about the Intel-gfx-trybot
mailing list