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: driver: make Adapter trait lifetime-parameterized Date: Tue, 28 Apr 2026 13:47:57 +1000 Message-ID: In-Reply-To: <20260427221155.2144848-6-dakr@kernel.org> References: <20260427221155.2144848-1-dakr@kernel.org> <20260427221155.2144848-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 plumbing. The `Adapter<'a>` lifetime flows through to `id_info`, `of_id_info`, and `acpi_id_info` return types, relaxing them from `&'static` to `&'a`. This is a no-op relaxation for current users. Clean. ### PATCHES 6-10: Sync for Device\ (PCI, platform, auxiliary, USB, device) All five patches follow the same pattern and are correct. The safety argument is the same: `Bound` is a zero-sized type-state marker that doesn't change the underlying struct, so if `Device` is `Sync`, `Device` should be too. This is needed for driver structs holding `&'a Device` to be `Send`. --- Generated by Claude Code Patch Reviewer