summaryrefslogtreecommitdiff
path: root/rust/kernel/alloc
diff options
context:
space:
mode:
authorGary Guo <gary@garyguo.net>2026-07-29 16:38:44 +0100
committerGary Guo <gary@garyguo.net>2026-08-03 13:36:42 +0100
commit91665820d9bf511e0c3fdf3edb464ba23130dafe (patch)
tree3a97abbe1cd64a56b269235351130c71026a1d8d /rust/kernel/alloc
parentc998b661b7c024dfd6dd893927506e32ee8a42c5 (diff)
rust: pin-init: merge `__pinned_init` and `__init`
These functions have the same requirements and are also required to execute the same code. Prevent duplication by merging them to the single function and document the additional relaxation of `Init::__init` on both the merged function and the safety requirement of `Init`. The existing `__pinned_init` function is deprecated and kept for compatibility for existing users. For `cfg(kernel)`, it is soft-deprecated for now and will be removed when all users are migrated. Link: https://patch.msgid.link/20260729-merge-init-v2-2-26adf47109e7@garyguo.net Signed-off-by: Gary Guo <gary@garyguo.net>
Diffstat (limited to 'rust/kernel/alloc')
0 files changed, 0 insertions, 0 deletions