From mboxrd@z Thu Jan 1 00:00:00 1970 From: Claude Code Review Bot To: dri-devel-reviews@example.com Subject: Claude review: rust: drm: Pass bound parent device to ioctl handlers Date: Thu, 04 Jun 2026 12:03:17 +1000 Message-ID: In-Reply-To: <20260603011711.2077361-6-dakr@kernel.org> References: <20260603011711.2077361-1-dakr@kernel.org> <20260603011711.2077361-6-dakr@kernel.org> X-Mailer: Claude Code Patch Reviewer Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit MIME-Version: 1.0 Patch Review Straightforward mechanical change. The guard is now named `guard` (not `_guard`), and `&*guard` dereferences the `UnbindGuard` to get `&T::ParentDevice`: ```rust - match $func(dev, data, file) { + match $func(dev, &*guard, data, file) { ``` All driver ioctl handlers gain a `_adev`/`_pdev` parameter they don't use yet (prefixed with `_`). Nova and Tyr driver changes are mechanical. --- Generated by Claude Code Patch Reviewer