lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202512010419.B6H1cMB9-lkp@intel.com>
Date: Mon, 1 Dec 2025 05:07:51 +0800
From: kernel test robot <lkp@...el.com>
To: Danilo Krummrich <dakr@...nel.org>
Cc: oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org,
	Abdiel Janulgue <abdiel.janulgue@...il.com>,
	Daniel Almeida <daniel.almeida@...labora.com>,
	Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: error[E0425]: cannot find function `dma_set_mask` in crate `bindings`

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   e69c7c175115c51c7f95394fc55425a395b3af59
commit: 101d66828a4eefb89b72256155feb6ec9abc144a rust: dma: add DMA addressing capabilities
date:   4 months ago
config: um-randconfig-r054-20251201 (https://download.01.org/0day-ci/archive/20251201/202512010419.B6H1cMB9-lkp@intel.com/config)
compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project b3428bb966f1de8aa48375ffee0eba04ede133b7)
rustc: rustc 1.88.0 (6b00bc388 2025-06-23)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251201/202512010419.B6H1cMB9-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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202512010419.B6H1cMB9-lkp@intel.com/

All errors (new ones prefixed by >>):

>> error[E0425]: cannot find function `dma_set_mask` in crate `bindings`
   --> rust/kernel/dma.rs:36:38
   |
   36    |         to_result(unsafe { bindings::dma_set_mask(self.as_ref().as_raw(), mask.value()) })
   |                                      ^^^^^^^^^^^^ help: a function with a similar name exists: `xa_set_mark`
   |
   ::: rust/bindings/bindings_generated.rs:26642:5
   |
   26642 |     pub fn xa_set_mark(arg1: *mut xarray, index: ffi::c_ulong, arg2: xa_mark_t);
   |     ---------------------------------------------------------------------------- similarly named function `xa_set_mark` defined here
--
>> error[E0425]: cannot find function `dma_set_coherent_mask` in crate `bindings`
   --> rust/kernel/dma.rs:53:38
   |
   53    |         to_result(unsafe { bindings::dma_set_coherent_mask(self.as_ref().as_raw(), mask.value()) })
   |                                      ^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `dma_coherent_ok`
   |
   ::: rust/bindings/bindings_generated.rs:50209:5
   |
   50209 |     pub fn dma_coherent_ok(dev: *mut device, phys: phys_addr_t, size: usize) -> bool_;
   |     ---------------------------------------------------------------------------------- similarly named function `dma_coherent_ok` defined here

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ