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/accel: remove unnecessary cast in accel_name_info() Date: Wed, 25 Mar 2026 08:08:40 +1000 Message-ID: In-Reply-To: <20260323022906.13615-1-onatbaker@gmail.com> References: <20260323022906.13615-1-onatbaker@gmail.com> <20260323022906.13615-1-onatbaker@gmail.com> X-Mailer: Claude Code Patch Reviewer Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit MIME-Version: 1.0 Patch Review **Status: Correct, trivially so.** The change: ```c // Before: struct drm_info_node *node = (struct drm_info_node *) m->private; // After: struct drm_info_node *node = m->private; ``` `m->private` is `void *` (from `struct seq_file`), so the cast to `struct drm_info_node *` is unnecessary in C. The patch is correct. **Minor observations:** - The commit message is clear and accurately describes the change. - `Signed-off-by` is present. - No functional change, no risk of regression. - This same pattern (removing void* casts) exists across many kernel files; a series cleaning up multiple instances would carry more weight than a single-line change. **No issues found.** --- Generated by Claude Code Patch Reviewer