diff options
| author | Danilo Krummrich <[email protected]> | 2024-12-19 17:04:07 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2024-12-20 16:19:26 +0000 |
| commit | 2d3bf6ffe26439444b55dd5af7b06d1aca3a042d (patch) | |
| tree | 3d8ae8220dd28c7e2f87ed3ea864824b60c922a3 /rust/helpers/pci.c | |
| parent | rust: add rcu abstraction (diff) | |
| download | kernel-2d3bf6ffe26439444b55dd5af7b06d1aca3a042d.tar.gz kernel-2d3bf6ffe26439444b55dd5af7b06d1aca3a042d.zip | |
rust: types: add `Opaque::pin_init`
Analogous to `Opaque::new` add `Opaque::pin_init`, which instead of a
value `T` takes a `PinInit<T>` and returns a `PinInit<Opaque<T>>`.
Reviewed-by: Alice Ryhl <[email protected]>
Suggested-by: Alice Ryhl <[email protected]>
Signed-off-by: Danilo Krummrich <[email protected]>
Tested-by: Dirk Behme <[email protected]>
Tested-by: Fabien Parent <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'rust/helpers/pci.c')
0 files changed, 0 insertions, 0 deletions
