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: alloc: remove `'static` bound on `ForeignOwnable` Date: Mon, 25 May 2026 19:29:13 +1000 Message-ID: In-Reply-To: <20260521233501.1191842-2-dakr@kernel.org> References: <20260521233501.1191842-1-dakr@kernel.org> <20260521233501.1191842-2-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 **Author:** Gary Guo Removes the `'static` requirement from `ForeignOwnable` by adding `where Se= lf: 'a` bounds to the `Borrowed<'a>` and `BorrowedMut<'a>` GATs. This is th= e foundational enabler =E2=80=94 without it, non-`'static` driver data can'= t participate in the `ForeignOwnable` protocol used for drvdata. The change is straightforward and correct. The `Self: 'a` bound properly re= stricts the GAT lifetime to not outlive the implementing type itself. No issues. --- --- Generated by Claude Code Patch Reviewer