diff options
| author | Danilo Krummrich <[email protected]> | 2025-04-28 14:00:27 +0000 |
|---|---|---|
| committer | Danilo Krummrich <[email protected]> | 2025-05-04 15:43:45 +0000 |
| commit | 46f91addfabbd4109fb64876a032ae4a4a924919 (patch) | |
| tree | 3234b6be3a5c9403378102efc9a1218d3af7eb68 /samples/rust/rust_driver_pci.rs | |
| parent | rust: device: conditionally expect `dead_code` for `parent()` (diff) | |
| download | kernel-46f91addfabbd4109fb64876a032ae4a4a924919.tar.gz kernel-46f91addfabbd4109fb64876a032ae4a4a924919.zip | |
rust: revocable: implement Revocable::access()
Implement an unsafe direct accessor for the data stored within the
Revocable.
This is useful for cases where we can prove that the data stored within
the Revocable is not and cannot be revoked for the duration of the
lifetime of the returned reference.
Reviewed-by: Christian Schrefl <[email protected]>
Reviewed-by: Benno Lossin <[email protected]>
Acked-by: Miguel Ojeda <[email protected]>
Reviewed-by: Alexandre Courbot <[email protected]>
Acked-by: Boqun Feng <[email protected]>
Reviewed-by: Joel Fernandes <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Danilo Krummrich <[email protected]>
Diffstat (limited to 'samples/rust/rust_driver_pci.rs')
0 files changed, 0 insertions, 0 deletions
