tree:   git://anongit.freedesktop.org/drm/drm-misc topic/rust-drm
head:   2e2592fb7d2165e68073020066789bd8860678d0
commit: b7222062b14f6c9e501a405305052fe88c5ff51e [5/21] rust: introduce 
`InPlaceModule`
config: x86_64-rhel-8.3-rust 
(https://download.01.org/0day-ci/archive/20240615/202406152203.flx7kviw-...@intel.com/config)
compiler: clang version 18.1.5 (https://github.com/llvm/llvm-project 
617a15a9eac96088ae5e9134248d8236e34b91b1)
reproduce (this is a W=1 build): 
(https://download.01.org/0day-ci/archive/20240615/202406152203.flx7kviw-...@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <l...@intel.com>
| Closes: 
https://lore.kernel.org/oe-kbuild-all/202406152203.flx7kviw-...@intel.com/

All errors (new ones prefixed by >>):

>> error[E0425]: cannot find value `THIS_MODULE` in the crate root
   --> rust/doctests_kernel_generated.rs:1649:1
   |
   1649 | / kernel::module_phy_driver! {
   1650 | |     drivers: [PhySample],
   1651 | |     device_table: [
   1652 | |         DeviceId::new_with_driver::<PhySample>()
   ...    |
   1657 | |     license: "GPL",
   1658 | | }
   | |_^ not found in the crate root
   |
   = note: this error originates in the macro `$crate::prelude::module` which 
comes from the expansion of the macro `kernel::module_phy_driver` (in Nightly 
builds, run with -Z macro-backtrace for more info)

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

Reply via email to