Hi Burak,

kernel test robot noticed the following build errors:

[auto build test ERROR on rust/rust-next]
[also build test ERROR on akpm-mm/mm-nonmm-unstable kees/for-next/hardening 
kees/for-next/pstore kees/for-next/kspp linus/master v6.15-rc7]
[cannot apply to next-20250516]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    
https://github.com/intel-lab-lkp/linux/commits/Burak-Emir/rust-add-bindings-for-bitmap-h/20250520-002216
base:   https://github.com/Rust-for-Linux/linux rust-next
patch link:    
https://lore.kernel.org/r/20250519161712.2609395-4-bqe%40google.com
patch subject: [PATCH v8 3/5] rust: add bitmap API.
config: x86_64-rhel-9.4-rust 
(https://download.01.org/0day-ci/archive/20250520/202505201339.bufykfye-...@intel.com/config)
compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 
3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
rustc: rustc 1.78.0 (9b00956e5 2024-04-29)
reproduce (this is a W=1 build): 
(https://download.01.org/0day-ci/archive/20250520/202505201339.bufykfye-...@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/202505201339.bufykfye-...@intel.com/

All errors (new ones prefixed by >>):

>> error[E0061]: this method takes 0 arguments but 1 argument was supplied
   --> rust/kernel/bitmap.rs:396:28
   |
   396 |         assert_eq!(None, b.last_bit(2048));
   |                            ^^^^^^^^ ----
   |                                     |
   |                                     unexpected argument of type `{integer}`
   |                                     help: remove the extra argument
   |
   note: method defined here
   --> rust/kernel/bitmap.rs:301:12
   |
   301 |     pub fn last_bit(&self) -> Option<usize> {
   |            ^^^^^^^^

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

Reply via email to