Linux Serial subsystem development
 help / color / mirror / Atom feed
* [tty:tty-testing 11/13] error[E0425]: cannot find type `BoundInternal` in module `device`
@ 2026-07-17 13:07 kernel test robot
  2026-07-17 13:16 ` Greg Kroah-Hartman
  0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2026-07-17 13:07 UTC (permalink / raw)
  To: Markus Probst; +Cc: oe-kbuild-all, linux-serial, Greg Kroah-Hartman

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git tty-testing
head:   ec7dbdaa11c7be1806f0ea1a272ee6daee42a843
commit: cbc11f4e978d1ee0bc857a9c51d43bbae6966f1d [11/13] rust: add basic serial device bus abstractions
config: x86_64-rhel-9.4-rust (https://download.01.org/0day-ci/archive/20260717/202607171517.ScFnGK4R-lkp@intel.com/config)
compiler: clang version 22.1.8 (https://github.com/llvm/llvm-project ca7933e47d3a3451d81e72ac174dcb5aa28b59d1)
rustc: rustc 1.96.0 (ac68faa20 2026-05-25)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260717/202607171517.ScFnGK4R-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/202607171517.ScFnGK4R-lkp@intel.com/

All errors (new ones prefixed by >>):

>> error[E0425]: cannot find type `BoundInternal` in module `device`
   --> rust/kernel/serdev.rs:256:58
   |
   256 |         let sdev = unsafe { &*sdev.cast::<Device<device::BoundInternal>>() };
   |                                                          ^^^^^^^^^^^^^
   |
   ::: rust/kernel/device.rs:525:1
   |
   525 | pub struct CoreInternal<'a>(PhantomData<&'a ()>);
   | ------------------------------------------------- similarly named struct `CoreInternal` defined here
   |
   help: a struct with a similar name exists
   |
   256 -         let sdev = unsafe { &*sdev.cast::<Device<device::BoundInternal>>() };
   256 +         let sdev = unsafe { &*sdev.cast::<Device<device::CoreInternal>>() };
   |

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-07-17 13:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-17 13:07 [tty:tty-testing 11/13] error[E0425]: cannot find type `BoundInternal` in module `device` kernel test robot
2026-07-17 13:16 ` Greg Kroah-Hartman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox