Re: [PATCH -next] rust_binder: use `LocalModule` for `THIS_MODULE`

Miguel Ojeda <[email protected]>
Newsgroups org.kernel.vger.linux-next,org.kernel.vger.linux-kernel,org.kernel.vger.rust-for-linux
Message-ID <CANiq72=LQj=f+mdH8FoWZ4X8nyk_crnTUaXZpGP-6sh1CE52zA@mail.gmail.com>
On Thu, Aug 13, 2026 at 6:40 PM Gary Guo <[email protected]> wrote:
>
> From: Gary Guo <[email protected]>
>
> Replace the `THIS_MODULE` static reference in the binder netlink code with
> `this_module::<LocalModule>()`, consistent with the move of `THIS_MODULE`
> into the `ModuleMetadata` trait.
>
> Cc: Alvin Sun <[email protected]>
> Signed-off-by: Gary Guo <[email protected]>
> ---
> This is to resolve the semantic conflict between rust-next and
> char-misc-next.

Thanks Gary!

Cheers,
Miguel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.