Re: [PATCH v2 4/5] rust: treewide: replace `__pinned_init` with `ptr_[try_]init`
Danilo Krummrich <[email protected]> Thu, 30 Jul 2026 16:03:39 +0200
| Newsgroups | org.kernel.vger.linux-pwm,org.kernel.vger.linux-kernel,org.kernel.vger.rust-for-linux |
|---|---|
| Message-ID | <[email protected]> |
On 7/29/26 5:38 PM, Gary Guo wrote: > The `__init` method is not designed to be a public API (existence of "__" > is a hint for this); replace users with `pin_init::ptr_[try_]init` which > does the same thing. > > There are a few users of `__init` which are replaced as well. > > Signed-off-by: Gary Guo <[email protected]> Acked-by: Danilo Krummrich <[email protected]>