Rust for Linux List
 help / color / mirror / Atom feed
* merge problems with char-misc-next and Linus's branch right now
@ 2026-08-25  9:05 Greg KH
  2026-08-25 10:00 ` Alvin Sun
  0 siblings, 1 reply; 6+ messages in thread
From: Greg KH @ 2026-08-25  9:05 UTC (permalink / raw)
  To: Alice Ryhl; +Cc: rust-for-linux

Hi,

I'm trying to push out a pull request for char-misc-next right now, and
am having merge issues that I need/want to fix up (or at least provide a
hint as to fix up.)

I'm currently stuck at the following build error:

  RUSTC     drivers/android/binder/rust_binder_main.o
error[E0425]: cannot find value `THIS_MODULE` in the crate root
  --> drivers/android/binder/netlink.rs:16:13
   |
16 |     &crate::THIS_MODULE,
   |             ^^^^^^^^^^^
   |
  ::: rust/kernel/module.rs:52:1
   |
52 | pub const fn this_module<M: ModuleMetadata>() -> &'static ThisModule {
   | -------------------------------------------------------------------- similarly named function `this_module` defined here
   |
help: a function with a similar name exists
   |
16 -     &crate::THIS_MODULE,
16 +     &crate::this_module,
   |

error: aborting due to 1 previous error


I wasn't paying attention to the recent THIS_MODULE changes, and can't
seem to figure out how to fix up the netlink.rs file to build with the
recent changes.

Any hints?

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-08-25 11:46 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-25  9:05 merge problems with char-misc-next and Linus's branch right now Greg KH
2026-08-25 10:00 ` Alvin Sun
2026-08-25 10:49   ` Miguel Ojeda
2026-08-25 11:08     ` Greg KH
2026-08-25 11:45       ` Greg KH
2026-08-25 10:53   ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox