Re: [PATCH] rust: impl_flags: add conversions for raw flag representations
From: kernel test robot
Date: Mon Sep 14 2026 - 06:26:00 EST
Hi Filipe,
kernel test robot noticed the following build errors:
[auto build test ERROR on 08df884136f1c1197bab2a27814404fd329d9aac]
url: https://github.com/intel-lab-lkp/linux/commits/Filipe-Xavier/rust-impl_flags-add-conversions-for-raw-flag-representations/20260912-135434
base: 08df884136f1c1197bab2a27814404fd329d9aac
patch link: https://lore.kernel.org/r/20260912-add-from-raw-conversions-v1-1-0cee34684d24%40gmail.com
patch subject: [PATCH] rust: impl_flags: add conversions for raw flag representations
config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20260914/202609141744.1nZ48tzs-lkp@xxxxxxxxx/config)
compiler: clang version 22.1.3 (https://github.com/llvm/llvm-project e9846648fd6183ee6d8cbdb4502213fcf902a211)
rustc: rustc 1.96.0 (ac68faa20 2026-05-25)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260914/202609141744.1nZ48tzs-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/202609141744.1nZ48tzs-lkp@xxxxxxxxx/
All errors (new ones prefixed by >>):
>> error[E0119]: conflicting implementations of trait `TryFrom<u32>` for type `VmMapFlags`
--> drivers/gpu/drm/tyr/vm.rs:74:1
|
74 | / impl_flags!(
75 | | /// Flags controlling virtual memory mapping behavior.
76 | | ///
77 | | /// These flags control access permissions and caching behavior for GPU virtual
... |
92 | | );
| |_^ conflicting implementation for `VmMapFlags`
...
144 | impl TryFrom<u32> for VmMapFlags {
| -------------------------------- first implementation here
|
= note: this error originates in the macro `impl_flags` (in Nightly builds, run with -Z macro-backtrace for more info)
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki