summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorEwan Chorynski <ewan.chorynski@ik.me>2025-12-28 17:15:23 +0100
committerDanilo Krummrich <dakr@kernel.org>2026-01-06 23:30:28 +0100
commit4348796233e736147e2e79c58784d0a9fb48867d (patch)
treec222ec0c037f88265d8194419c6f681e7b5dcd5a /drivers
parent7acc70476f14661149774ab88d3fe23d83ba4249 (diff)
rust: drm: Improve safety comment when using `Pin::into_inner_unchecked`
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@ik.me> Link: https://patch.msgid.link/20251228-drm-gem-safety-comment-v2-1-99bb861c3371@ik.me Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions