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_auxiliary: showcase lifetime-bound registration data Date: Mon, 18 May 2026 16:24:34 +1000 Message-ID: In-Reply-To: <20260517000149.3226762-19-dakr@kernel.org> References: <20260517000149.3226762-1-dakr@kernel.org> <20260517000149.3226762-19-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 Changes `Bar` from owning an `ARef` to borrowing `&'bound Device`: ```rust -pub struct Bar { - pdev: ARef, +pub struct Bar<'bound, const SIZE: usize = 0> { + pdev: &'bound Device, ``` This eliminates the reference-counted device handle in favor of a compile-time lifetime guarantee. The `Bar` can no longer outlive the device binding. Clean simplification. --- Generated by Claude Code Patch Reviewer