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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250610142230.001af1d3@canb.auug.org.au>
Date: Tue, 10 Jun 2025 14:22:30 +1000
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: Benno Lossin <lossin@...nel.org>
Cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>, Linux Next
 Mailing List <linux-next@...r.kernel.org>
Subject: linux-next: build failure after merge of the rust-pin-init tree

Hi all,

After merging the rust-pin-init tree, today's linux-next build (x86_64
allmodconfig) failed like this:

error[E0282]: type annotations needed
   --> rust/kernel/configfs.rs:154:26
    |
154 |             subsystem <- pin_init::zeroed().chain(
    |                          ^^^^^^^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the function `zeroed`
    |
help: consider specifying the generic argument
    |
154 |             subsystem <- pin_init::zeroed::<T>().chain(
    |                                          +++++

error[E0282]: type annotations needed
   --> rust/kernel/configfs.rs:264:22
    |
264 |             group <- pin_init::zeroed().chain(|v: &mut Opaque<bindings::config_group>| {
    |                      ^^^^^^^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the function `zeroed`
    |
help: consider specifying the generic argument
    |
264 |             group <- pin_init::zeroed::<T>().chain(|v: &mut Opaque<bindings::config_group>| {
    |                                      +++++

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0282`.

Caused by commit

  0bcaea04244b ("rust: pin-init: rename `zeroed` to `init_zeroed`")

I have used the rust-pin-init tree from next-20250606 for today.

-- 
Cheers,
Stephen Rothwell

Content of type "application/pgp-signature" skipped

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ