Re: [PATCH v2 4/5] rust: treewide: replace `__pinned_init` with `ptr_[try_]init`
Miguel Ojeda <[email protected]> Mon, 3 Aug 2026 14:19:33 +0200
| Newsgroups | org.kernel.vger.linux-pwm,org.kernel.vger.linux-kernel,org.kernel.vger.rust-for-linux |
|---|---|
| Message-ID | <CANiq72=b0a0cG+yXY90w30esgx16ZxJ3KsPb+5pbuPrd_izpmQ@mail.gmail.com> |
On Wed, Jul 29, 2026 at 5:39=E2=80=AFPM Gary Guo <[email protected]> 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]> Since you asked: Acked-by: Miguel Ojeda <[email protected]> But I obviously trust you to change this even treewide! :) Thanks! Cheers, Miguel