Rust fixes for 6.12
Miguel Ojeda
maintainerHi Linus,
Please pull these fixes for Rust.
They have all been in linux-next for at least a couple rounds, and most for a week.
You will probably notice a non-tag base -- I used the Rust merge because there was a trivial issue in the merge resolution so I added the fix on top of that one without waiting for v6.12-rc1. Please let me know if you prefer something else (e.g. I considered sending you that patch directly to you).
No conflicts expected.
You also already merged a fix for a Rust driver (qt2025) via netdev.
Thanks!
Cheers,
Miguel
The following changes since commit 570172569238c66a482ec3eb5d766cc9cf255f69:
Merge tag 'rust-6.12' of https://github.com/Rust-for-Linux/linux (2024-09-25 10:25:40 -0700)
are available in the Git repository at:
https://github.com/Rust-for-Linux/linux.git tags/rust-fixes-6.12
for you to fetch changes up to 05cef2c4a421ca09ab9761a95e61423e59e5bfb1:
rust: kunit: use C-string literals to clean warning (2024-10-01 23:46:42 +0200)
----------------------------------------------------------------
Rust fixes for v6.12
Toolchain and infrastructure:
- Fix/improve a couple 'depends on' on the newly added CFI/KASAN suppport to avoid build errors/warnings.
- Fix ARCH_SLAB_MINALIGN multiple definition error for RISC-V under !CONFIG_MMU.
- Clean upcoming (Rust 1.83.0) Clippy warnings.
'kernel' crate:
- 'sync' module: fix soundness issue by requiring 'T: Sync' for 'LockedBy::access'; and fix helpers build error under PREEMPT_RT.
- Fix trivial sorting issue ('rustfmtcheck') on the v6.12 Rust merge.
----------------------------------------------------------------
Alice Ryhl (3):
rust: sync: require T: Sync for LockedBy::access
rust: KASAN+RETHUNK requires rustc 1.83.0
cfi: encode cfi normalized integers + kasan/gcov bug in Kconfig
Dirk Behme (1):
rust: mutex: fix __mutex_init() usage in case of PREEMPT_RT
Gary Guo (1):
rust: fix ARCH_SLAB_MINALIGN multiple definition error
Miguel Ojeda (3):
rust: kernel: sort Rust modules
rust: cfi: fix patchable-function-entry starting version
rust: kunit: use C-string literals to clean warning
arch/Kconfig | 18 +++++++++++++++++- init/Kconfig | 5 +++-- rust/bindgen_parameters | 5 +++++ rust/helpers/mutex.c | 6 ++++++ rust/kernel/kunit.rs | 4 ++-- rust/kernel/lib.rs | 2 +- rust/kernel/sync/locked_by.rs | 18 ++++++++++++++---- 7 files changed, 48 insertions(+), 10 deletions(-)
The pull request you sent on Fri, 4 Oct 2024 02:03:49 +0200:
The pull request you sent on Fri, 4 Oct 2024 02:03:49 +0200:
Quoted 1 line
https://github.com/Rust-for-Linux/linux.git tags/rust-fixes-6.12
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/0c559323bbaabee7346c12e74b497e283aaafef5
Thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/prtracker.html