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

From: Miguel Ojeda

Date: Thu Aug 13 2026 - 13:10:10 EST


On Thu, Aug 13, 2026 at 6:40 PM Gary Guo <gary@xxxxxxxxxx> wrote:
>
> From: Gary Guo <gary@xxxxxxxxxxx>
>
> 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 <alvin.sun@xxxxxxxxx>
> Signed-off-by: Gary Guo <gary@xxxxxxxxxxx>
> ---
> This is to resolve the semantic conflict between rust-next and
> char-misc-next.

Thanks Gary!

Cheers,
Miguel