* [asahilinux:gpu/rust-for-next 21/24] error[E0425]: cannot find function `drm_gem_object_get` in crate `bindings`
@ 2023-02-05 14:34 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-02-05 14:34 UTC (permalink / raw)
To: Asahi Lina; +Cc: llvm, oe-kbuild-all
tree: https://github.com/AsahiLinux/linux gpu/rust-for-next
head: 66a57fa1328927e067e02fa8a64782c4ee5aac1d
commit: a09519a8f540416972af3a8dbb185744434aa08b [21/24] rust: kernel: drm: gem: Add GEM object abstraction
config: x86_64-rhel-8.3-rust (https://download.01.org/0day-ci/archive/20230205/202302052253.n0pJjBrj-lkp@intel.com/config)
compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/AsahiLinux/linux/commit/a09519a8f540416972af3a8dbb185744434aa08b
git remote add asahilinux https://github.com/AsahiLinux/linux
git fetch --no-tags asahilinux gpu/rust-for-next
git checkout a09519a8f540416972af3a8dbb185744434aa08b
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 prepare
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> error[E0425]: cannot find function `drm_gem_object_get` in crate `bindings`
--> rust/kernel/drm/gem/mod.rs:132:23
|
132 | bindings::drm_gem_object_get(self.gem_obj() as *const _ as *mut _);
| ^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `drm_gem_object_free`
|
::: rust/bindings/bindings_generated.rs:48044:5
|
48044 | pub fn drm_gem_object_free(kref: *mut kref);
| -------------------------------------------- similarly named function `drm_gem_object_free` defined here
--
>> error[E0425]: cannot find function `drm_vma_node_offset_addr` in crate `bindings`
--> rust/kernel/drm/gem/mod.rs:182:23
|
182 | bindings::drm_vma_node_offset_addr(&self.gem_obj().vma_node as *const _ as *mut _)
| ^^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `drm_vma_offset_add`
|
::: rust/bindings/bindings_generated.rs:47942:5
|
47942 | / pub fn drm_vma_offset_add(
47943 | | mgr: *mut drm_vma_offset_manager,
47944 | | node: *mut drm_vma_offset_node,
47945 | | pages: core::ffi::c_ulong,
47946 | | ) -> core::ffi::c_int;
| |__________________________- similarly named function `drm_vma_offset_add` defined here
--
>> error[E0425]: cannot find function `drm_gem_object_put` in crate `bindings`
--> rust/kernel/drm/gem/mod.rs:298:23
|
298 | bindings::drm_gem_object_put((*self.ptr).gem_obj() as *const _ as *mut _);
| ^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `drm_gem_object_init`
|
::: rust/bindings/bindings_generated.rs:48047:5
|
48047 | / pub fn drm_gem_object_init(
48048 | | dev: *mut drm_device,
48049 | | obj: *mut drm_gem_object,
48050 | | size: usize,
48051 | | ) -> core::ffi::c_int;
| |__________________________- similarly named function `drm_gem_object_init` defined here
--
>> error[E0425]: cannot find function `drm_gem_object_put` in crate `bindings`
--> rust/kernel/drm/gem/mod.rs:334:23
|
334 | bindings::drm_gem_object_put((*self.ptr).gem_obj() as *const _ as *mut _);
| ^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `drm_gem_object_init`
|
::: rust/bindings/bindings_generated.rs:48047:5
|
48047 | / pub fn drm_gem_object_init(
48048 | | dev: *mut drm_device,
48049 | | obj: *mut drm_gem_object,
48050 | | size: usize,
48051 | | ) -> core::ffi::c_int;
| |__________________________- similarly named function `drm_gem_object_init` defined here
--
>> error: aborting due to 4 previous errors
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-02-05 14:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-05 14:34 [asahilinux:gpu/rust-for-next 21/24] error[E0425]: cannot find function `drm_gem_object_get` in crate `bindings` kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.