[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202512090237.rE4zx0Ob-lkp@intel.com>
Date: Tue, 9 Dec 2025 02:48:08 +0800
From: kernel test robot <lkp@...el.com>
To: Moritz Zielke via B4 Relay <devnull+moritz.zielke.gmail.com@...nel.org>,
Danilo Krummrich <dakr@...nel.org>,
Alice Ryhl <aliceryhl@...gle.com>,
Daniel Almeida <daniel.almeida@...labora.com>,
Miguel Ojeda <ojeda@...nel.org>,
Alex Gaynor <alex.gaynor@...il.com>,
Boqun Feng <boqun.feng@...il.com>, Gary Guo <gary@...yguo.net>,
Björn Roy Baron <bjorn3_gh@...tonmail.com>,
Benno Lossin <lossin@...nel.org>,
Andreas Hindborg <a.hindborg@...nel.org>,
Trevor Gross <tmgross@...ch.edu>
Cc: oe-kbuild-all@...ts.linux.dev, rust-for-linux@...r.kernel.org,
linux-kernel@...r.kernel.org,
Moritz Zielke <moritz.zielke@...il.com>
Subject: Re: [PATCH] rust: io: convert ResourceSize to newtype
Hi Moritz,
kernel test robot noticed the following build errors:
[auto build test ERROR on 473b9f331718267815649cd93801da832200db71]
url: https://github.com/intel-lab-lkp/linux/commits/Moritz-Zielke-via-B4-Relay/rust-io-convert-ResourceSize-to-newtype/20251204-012104
base: 473b9f331718267815649cd93801da832200db71
patch link: https://lore.kernel.org/r/20251203-res-size-newtype-v1-1-22ed0b8a7a18%40gmail.com
patch subject: [PATCH] rust: io: convert ResourceSize to newtype
config: um-randconfig-r064-20251207 (https://download.01.org/0day-ci/archive/20251209/202512090237.rE4zx0Ob-lkp@intel.com/config)
compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project a805147ac1ba123916de182babb0831fbb148756)
rustc: rustc 1.88.0 (6b00bc388 2025-06-23)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251209/202512090237.rE4zx0Ob-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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202512090237.rE4zx0Ob-lkp@intel.com/
All errors (new ones prefixed by >>):
>> error[E0605]: non-primitive cast: `ResourceSize` as `usize`
--> drivers/gpu/nova-core/firmware/gsp.rs:234:25
|
234 | let num_pages = (sg_entry.dma_len() as usize).div_ceil(GSP_PAGE_SIZE);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ an `as` expression can only be used to convert between primitive types or to coerce to a specific trait object
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists