[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <f27a000d-70be-4b49-be2e-07921c1b6b0a@kernel.org>
Date: Tue, 6 Jan 2026 23:34:30 +0100
From: Danilo Krummrich <dakr@...nel.org>
To: Ewan Chorynski <ewan.chorynski@...me>
Cc: David Airlie <airlied@...il.com>, Simona Vetter <simona@...ll.ch>,
Alice Ryhl <aliceryhl@...gle.com>, Miguel Ojeda <ojeda@...nel.org>,
Boqun Feng <boqun.feng@...il.com>, Gary Guo <gary@...yguo.net>,
Björn Roy Baron <bjorn3_gh@...tonmail.com>,
Benno Lossin <lossin@...nel.org>, Andreas Hindborg <a.hindborg@...nel.org>,
Trevor Gross <tmgross@...ch.edu>, dri-devel@...ts.freedesktop.org,
rust-for-linux@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] rust: drm: Improve safety comment when using
`Pin::into_inner_unchecked`
On 12/28/25 5:15 PM, Ewan Chorynski wrote:
> The safety requirements for `Pin::into_inner_unchecked` state that the
> returned pointer must be treated as pinned until it is dropped. Such a
> guarantee is provided by the `ARef` type. This patch improves the safety
> comment to better reflect this.
>
> Signed-off-by: Ewan Chorynski <ewan.chorynski@...me>
Applied to drm-rust-next, thanks!
Powered by blists - more mailing lists