lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87ecxa2guu.fsf@kernel.org>
Date: Wed, 30 Apr 2025 10:28:25 +0200
From: Andreas Hindborg <a.hindborg@...nel.org>
To: "Miguel Ojeda" <miguel.ojeda.sandonis@...il.com>
Cc: "kernel test robot" <lkp@...el.com>,  "FUJITA Tomonori"
 <fujita.tomonori@...il.com>,  <oe-kbuild-all@...ts.linux.dev>,
  <linux-kernel@...r.kernel.org>,  "Miguel Ojeda" <ojeda@...nel.org>,
  "Danilo Krummrich" <dakr@...nel.org>
Subject: Re: error[E0432]: unresolved import `core::sync::atomic::AtomicU64`

"Miguel Ojeda" <miguel.ojeda.sandonis@...il.com> writes:

> On Wed, Apr 30, 2025 at 6:55 AM kernel test robot <lkp@...el.com> wrote:
>>
>> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
>> head:   8bac8898fe398ffa3e09075ecea2be511725fb0b
>> commit: 584e61452f75bfeac2cdd83730b4059526ec60c7 rust: helpers: Remove volatile qualifier from io helpers
>> date:   2 weeks ago
>> config: um-randconfig-r063-20250430 (https://download.01.org/0day-ci/archive/20250430/202504301208.YQCguEmE-lkp@intel.com/config)
>> compiler: clang version 16.0.6 (https://github.com/llvm/llvm-project 7cbf1a2591520c2491aa35339f227775f4d3adf6)
>> rustc: rustc 1.78.0 (9b00956e5 2024-04-29)
>> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250430/202504301208.YQCguEmE-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/202504301208.YQCguEmE-lkp@intel.com/
>>
>> All errors (new ones prefixed by >>):
>>
>> >> error[E0432]: unresolved import `core::sync::atomic::AtomicU64`
>>    --> rust/kernel/block/mq/operations.rs:15:33
>>    |
>>    15 | use core::{marker::PhantomData, sync::atomic::AtomicU64, sync::atomic::Ordering};
>>    |                                 ^^^^^^^^^^^^^^---------
>>    |                                 |             |
>>    |                                 |             help: a similar name exists in the module: `AtomicU32`
>>    |                                 no `AtomicU64` in `sync::atomic`
>> --
>> >> error[E0432]: unresolved import `core::sync::atomic::AtomicU64`
>>    --> rust/kernel/block/mq/request.rs:16:20
>>    |
>>    16 |     sync::atomic::{AtomicU64, Ordering},
>>    |                    ^^^^^^^^^
>>    |                    |
>>    |                    no `AtomicU64` in `sync::atomic`
>>    |                    help: a similar name exists in the module: `AtomicU32`
>
> Cc'ing Andreas.
>

Gary sent a patch to fix this a while back [1].


Best regards,
Andreas Hindborg

[1] https://lore.kernel.org/all/20250219201602.1898383-4-gary@garyguo.net



Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ