From mboxrd@z Thu Jan 1 00:00:00 1970 From: Claude Code Review Bot To: dri-devel-reviews@example.com Subject: Claude review: samples: rust: rust_driver_pci: use HRT lifetime for Bar Date: Tue, 28 Apr 2026 13:47:58 +1000 Message-ID: In-Reply-To: <20260427221155.2144848-21-dakr@kernel.org> References: <20260427221155.2144848-1-dakr@kernel.org> <20260427221155.2144848-21-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 Excellent showcase. `SampleDriver<'a>` holds `&'a pci::Device` and `Bar0<'a>` directly. No more `PinnedDrop`, `pin_init_scope`, `ARef`, or `Devres`. The `unbind` can access the bar infallibly. This is the clearest demonstration of the ergonomic win. --- Generated by Claude Code Patch Reviewer