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: Tue, 05 May 2026 08:06:03 +1000 Message-ID: In-Reply-To: <20260504190751.61052-10-robin.clark@oss.qualcomm.com> References: <20260504190751.61052-1-robin.clark@oss.qualcomm.com> <20260504190751.61052-10-robin.clark@oss.qualcomm.com> X-Mailer: Claude Code Patch Reviewer Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Patch Review Adds `msm_perfcntr_context_state` with a flex array `reserved_counters[]` a= nd a `dummy` member: ```c struct msm_perfcntr_context_state { unsigned dummy; unsigned reserved_counters[]; }; ``` The `dummy` field with a comment about compilers disliking flex-only struct= s is fine =E2=80=94 this is a known C limitation. The `kfree(ctx->perfctx)`= in `__msm_context_destroy` is correct. --- Generated by Claude Code Patch Reviewer