Re: [PATCH v8 2/2] rust: add dma coherent allocator abstraction.
From: kernel test robot
Date: Sat Jan 11 2025 - 19:42:50 EST
Hi Abdiel,
kernel test robot noticed the following build errors:
[auto build test ERROR on v6.13-rc6]
[also build test ERROR on linus/master]
[cannot apply to next-20250110]
[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/Abdiel-Janulgue/rust-error-Add-EOVERFLOW/20250108-202929
base: v6.13-rc6
patch link: https://lore.kernel.org/r/20250108122825.136021-3-abdiel.janulgue%40gmail.com
patch subject: [PATCH v8 2/2] rust: add dma coherent allocator abstraction.
config: um-randconfig-001-20250112 (https://download.01.org/0day-ci/archive/20250112/202501120855.PXuydC6T-lkp@xxxxxxxxx/config)
compiler: clang version 20.0.0git (https://github.com/llvm/llvm-project f5cd181ffbb7cb61d582fe130d46580d5969d47a)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250112/202501120855.PXuydC6T-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202501120855.PXuydC6T-lkp@xxxxxxxxx/
All errors (new ones prefixed by >>):
>> error[E0425]: cannot find function `dma_alloc_attrs` in crate `bindings`
--> rust/kernel/dma.rs:145:23
|
145 | bindings::dma_alloc_attrs(
| ^^^^^^^^^^^^^^^ help: a function with a similar name exists: `dma_alloc_pages`
|
::: rust/bindings/bindings_generated.rs:39433:5
|
39433 | / pub fn dma_alloc_pages(
39434 | | dev: *mut device,
39435 | | size: usize,
39436 | | dma_handle: *mut dma_addr_t,
39437 | | dir: dma_data_direction,
39438 | | gfp: gfp_t,
39439 | | ) -> *mut page;
| |__________________- similarly named function `dma_alloc_pages` defined here
--
>> error[E0425]: cannot find function `dma_free_attrs` in crate `bindings`
--> rust/kernel/dma.rs:262:23
|
262 | bindings::dma_free_attrs(
| ^^^^^^^^^^^^^^ help: a function with a similar name exists: `dma_free_pages`
|
::: rust/bindings/bindings_generated.rs:39442:5
|
39442 | / pub fn dma_free_pages(
39443 | | dev: *mut device,
39444 | | size: usize,
39445 | | page: *mut page,
39446 | | dma_handle: dma_addr_t,
39447 | | dir: dma_data_direction,
39448 | | );
| |_____- similarly named function `dma_free_pages` defined here
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki