From mboxrd@z Thu Jan 1 00:00:00 1970 From: Claude Code Review Bot To: dri-devel-reviews@example.com Subject: Claude review: drm/msm: Add per-context perfcntr state Date: Mon, 25 May 2026 18:21:40 +1000 Message-ID: In-Reply-To: <20260522173349.55491-10-robin.clark@oss.qualcomm.com> References: <20260522173349.55491-1-robin.clark@oss.qualcomm.com> <20260522173349.55491-10-robin.clark@oss.qualcomm.com> X-Mailer: Claude Code Patch Reviewer Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit MIME-Version: 1.0 Patch Review The `msm_perfcntr_context_state` struct has: ```c struct msm_perfcntr_context_state { /** @dummy: Some compilers dislike structs with only a flex array */ unsigned dummy; unsigned reserved_counters[]; }; ``` The `dummy` workaround is fine for portability. The `kfree(ctx->perfctx)` in `__msm_context_destroy` is correctly added. --- Generated by Claude Code Patch Reviewer