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: <20260130221755.159543-1-ojeda@kernel.org>
Date: Fri, 30 Jan 2026 23:17:40 +0100
From: Miguel Ojeda <ojeda@...nel.org>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Miguel Ojeda <ojeda@...nel.org>,
	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>,
	Alice Ryhl <aliceryhl@...gle.com>,
	Trevor Gross <tmgross@...ch.edu>,
	Danilo Krummrich <dakr@...nel.org>,
	rust-for-linux@...r.kernel.org,
	linux-kernel@...r.kernel.org
Subject: [GIT PULL] Rust fixes for 6.19

Hi Linus,

Please pull these fixes for Rust.

They have been in linux-next this week or more.

No conflicts expected.

Thanks!

Cheers,
Miguel

The following changes since commit 9ace4753a5202b02191d54e9fdf7f9e3d02b85eb:

  Linux 6.19-rc4 (2026-01-04 14:41:55 -0800)

are available in the Git repository at:

  https://git.kernel.org/pub/scm/linux/kernel/git/ojeda/linux.git tags/rust-fixes-6.19

for you to fetch changes up to 5016cae970d7d59d62aa4f6f11455a9e9630dd1c:

  rust: num: bounded: clean __new documentation and comments (2026-01-26 02:53:16 +0100)

----------------------------------------------------------------
Rust fixes for v6.19

Toolchain and infrastructure:

  - Trigger rebuilds of the newly added 'proc-macro2' crate (and its
    dependencies) when the Rust compiler version changes.

  - Fix error in '.rsi' targets (macro expanding single targets) under
    'O=' pointing to an external (not subdir) folder.

  - Fix off-by-one line number in 'rustdoc' KUnit tests.

  - Add '-fdiagnostics-show-context' to GCC flags skipped by 'bindgen'.

  - Clean objtool warning by adding one more 'noreturn' function.

  - Clean 'libpin_init_internal.{so,dylib}' in 'mrproper'.

'kernel' crate:

  - Fix build error when using expressions in formatting arguments.

  - Mark 'num::Bounded::__new()' as unsafe and clean documentation
    accordingly.

  - Always inline functions using 'build_assert' with arguments.

  - Fix 'rusttest' build error providing the right 'isize_atomic_repr'
    type for the host.

'macros' crate:

  - Fix 'rusttest' build error by ignoring example.

rust-analyzer:

  - Remove assertion that was not true for distributions like NixOS.

  - Add missing dependency edges and fix editions for 'quote' and
    sysroot crates to provide correct IDE support.

DRM Tyr:

  - Fix build error by adding missing dependency on 'CONFIG_COMMON_CLK'.

Plus clean a few typos in docs and comments.

----------------------------------------------------------------
Alexandre Courbot (3):
      rust: bits: always inline functions using build_assert with arguments
      rust: sync: refcount: always inline functions using build_assert with arguments
      rust: num: bounded: add missing comment for always inlined function

Atharv Dubey (1):
      rust: rbtree: fix minor typo in comment

Chen Miao (1):
      kbuild: rust: clean libpin_init_internal in mrproper

Dirk Behme (1):
      rust: fmt: Fix grammar in Adapter description

FUJITA Tomonori (2):
      objtool/rust: add one more `noreturn` Rust function
      rust: macros: ignore example with module parameters

Gary Guo (1):
      rust: fix off-by-one line number in rustdoc tests

Hang Shu (1):
      rust: rbtree: fix documentation typo in CursorMut peek_next method

Hsiu Che Yu (1):
      rust: num: bounded: mark __new as unsafe

Jesung Yang (2):
      scripts: generate_rust_analyzer: syn: treat `std` as a dependency
      scripts: generate_rust_analyzer: quote: treat `core` and `std` as dependencies

Miguel Ojeda (4):
      rust: kbuild: give `--config-path` to `rustfmt` in `.rsi` target
      rust: proc-macro2: rebuild if the version text changes
      rust: sync: atomic: Provide stub for `rusttest` 32-bit hosts
      drm/tyr: depend on `COMMON_CLK` to fix build error

Nakamura Shuta (1):
      rust: num: fix typos in Bounded documentation

Onur Özkan (1):
      scripts: generate_rust_analyzer: remove sysroot assertion

SeungJong Ha (1):
      scripts: generate_rust_analyzer: fix resolution of #[pin_data] macros

Shivam Kalra (1):
      rust: num: bounded: clean __new documentation and comments

Siddhesh Poyarekar (1):
      rust: kbuild: Add -fdiagnostics-show-context to bindgen_skip_c_flags

Tamir Duberstein (6):
      rust: fmt: fix formatting expressions
      scripts: generate_rust_analyzer: Add compiler_builtins -> core dep
      scripts: generate_rust_analyzer: Add pin_init -> compiler_builtins dep
      scripts: generate_rust_analyzer: Add pin_init_internal deps
      scripts: generate_rust_analyzer: compile quote with correct edition
      scripts: generate_rust_analyzer: compile sysroot with correct edition

 Makefile                             |  3 ++-
 drivers/gpu/drm/tyr/Kconfig          |  1 +
 rust/Makefile                        |  1 +
 rust/kernel/bits.rs                  |  6 +++--
 rust/kernel/fmt.rs                   |  2 +-
 rust/kernel/num/bounded.rs           | 49 +++++++++++++++++++-----------------
 rust/kernel/rbtree.rs                |  4 +--
 rust/kernel/sync/atomic/predefine.rs | 11 ++++++++
 rust/kernel/sync/refcount.rs         |  3 ++-
 rust/macros/fmt.rs                   |  2 +-
 rust/macros/lib.rs                   |  2 +-
 rust/proc-macro2/lib.rs              |  4 +++
 scripts/Makefile.build               |  2 +-
 scripts/generate_rust_analyzer.py    | 45 ++++++++++++++++++++++++---------
 scripts/rustdoc_test_gen.rs          |  2 +-
 tools/objtool/check.c                |  3 ++-
 16 files changed, 93 insertions(+), 47 deletions(-)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ