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 registration data to ioctl handlers Date: Thu, 07 May 2026 12:45:09 +1000 Message-ID: In-Reply-To: <20260506221027.858481-6-dakr@kernel.org> References: <20260506221027.858481-1-dakr@kernel.org> <20260506221027.858481-6-dakr@kernel.org> X-Mailer: Claude Code Patch Reviewer Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Patch Review The `_guard` is renamed to `guard` and the ioctl call becomes: ```rust match $func(dev, guard.registration_data(), data, file) { ``` The handler signature changes to add `_reg_data: &()` in nova and tyr =E2= =80=94 both use `ForLt!(())` as their `RegistrationData`, so the concrete t= ype is `&()`. This is a no-op placeholder for drivers that don't need regis= tration data yet. **Signature documentation update** is correct: ```rust /// fn foo(device: &kernel::drm::Device, /// reg_data: &::Of<= '_>, /// data: &mut uapi::argument_type, /// file: &kernel::drm::File, /// ) -> Result ``` No issues. --- Generated by Claude Code Patch Reviewer