mirror of
https://github.com/torvalds/linux.git
synced 2026-09-14 16:10:02 +02:00
The `__init` method is not designed to be a public API (existence of "__" is a hint for this); but currently there is no other API that allows raw initialization on pointers. Add `raw_init` and `raw_try_init` and recommend people to use this instead if raw pointer initialization is needed. Link: https://patch.msgid.link/20260729-merge-init-v2-3-26adf47109e7@garyguo.net [ Renamed from `ptr_[try_]init` to `raw_[try_]init`. - Gary ] Reviewed-by: Benno Lossin <lossin@kernel.org> Signed-off-by: Gary Guo <gary@garyguo.net> |
||
|---|---|---|
| .. | ||
| big_struct_in_place.rs | ||
| error.rs | ||
| linked_list.rs | ||
| mutex.rs | ||
| pthread_mutex.rs | ||
| static_init.rs | ||