* [asahilinux:asahi-wip 851/987] warning: associated items `as_ref` and `as_raw` are never used
@ 2025-08-05 22:54 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-08-05 22:54 UTC (permalink / raw)
To: Lyude Paul; +Cc: llvm, oe-kbuild-all, Janne Grunau
tree: https://github.com/AsahiLinux/linux asahi-wip
head: 0fcda52c969c6fe276e3f63f02438233ca592077
commit: 835791f8b49eaf3179ed9d8dd51f0efd00ab0648 [851/987] rust: Add dma_buf stub bindings
config: x86_64-rhel-9.4-rust (https://download.01.org/0day-ci/archive/20250806/202508060607.YkwmreFY-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
rustc: rustc 1.88.0 (6b00bc388 2025-06-23)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250806/202508060607.YkwmreFY-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/202508060607.YkwmreFY-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> warning: associated items `as_ref` and `as_raw` are never used
--> rust/kernel/dma_buf.rs:31:26
|
23 | impl DmaBuf {
| ----------- associated items in this implementation
...
31 | pub(crate) unsafe fn as_ref<'a>(self_ptr: *mut bindings::dma_buf) -> &'a Self {
| ^^^^^^
...
36 | pub(crate) fn as_raw(&self) -> *mut bindings::dma_buf {
| ^^^^^^
|
= note: `#[warn(dead_code)]` on by default
--
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:[~2025-08-05 22:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-05 22:54 [asahilinux:asahi-wip 851/987] warning: associated items `as_ref` and `as_raw` are never used 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).