llvm.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [rust:staging/rust-pci 3/12] = note: `init` from trait: `fn(&'static kernel::prelude::CStr, &'static kernel::ThisModule) -> Result<Self, kernel::error::Error>`
@ 2024-09-27 14:23 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-09-27 14:23 UTC (permalink / raw)
  To: Danilo Krummrich; +Cc: llvm, oe-kbuild-all, Miguel Ojeda

tree:   https://github.com/Rust-for-Linux/linux staging/rust-pci
head:   249ffdfb5019c0bd62b4b67d915af6c2c98ead08
commit: acde67c82eb0233f3b58001d36882f23f5c8b0f1 [3/12] rust: pass module name to `Module::init`
config: x86_64-randconfig-076-20240927 (https://download.01.org/0day-ci/archive/20240927/202409272204.5DFMtOua-lkp@intel.com/config)
compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240927/202409272204.5DFMtOua-lkp@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 <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202409272204.5DFMtOua-lkp@intel.com/

All errors (new ones prefixed by >>):

   error[E0050]: method `init` has 1 parameter but the declaration in trait `kernel::Module::init` has 2
   --> drivers/block/rnull.rs:39:22
   |
   39 |     fn init(_module: &'static ThisModule) -> Result<Self> {
   |                      ^^^^^^^^^^^^^^^^^^^ expected 2 parameters, found 1
   |
>> = note: `init` from trait: `fn(&'static kernel::prelude::CStr, &'static kernel::ThisModule) -> Result<Self, kernel::error::Error>`

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-09-27 14:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-27 14:23 [rust:staging/rust-pci 3/12] = note: `init` from trait: `fn(&'static kernel::prelude::CStr, &'static kernel::ThisModule) -> Result<Self, kernel::error::Error>` kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).