Rust fixes for 7.4 (2nd)
Miguel Ojeda
maintainerHi Linus,
Please pull these fixes for Rust.
They have been in linux-next for almost a week.
No conflicts expected.
(One of them is just a warning that one only sees with CLIPPY=1, but so far we have kept the builds warning-clean even with Clippy, and so I am still including this kind in my -fixes PRs. But I know you are trying to keep -fixes to actual issues, so if this is too much, we could also say that Clippy is out of scope for -fixes.)
Thanks!
Cheers,
Miguel
The following changes since commit 6628e7d4c6b25c8d18f1345e3a20d21829aae7e4:
Linux 7.4-rc1 (2026-11-01 13:26:31 -0800)
are available in the Git repository at:
https://git.kernel.org/pub/scm/linux/kernel/git/ojeda/linux.git tags/rust-fixes-7.4-2
for you to fetch changes up to 57d916a3eb765ee0577d269bb2ac1bdf3a7a7f40:
rust: bindings: derive Zeroable for bindgen's opaque array wrappers (2026-11-02 03:06:57 +0100)
----------------------------------------------------------------
Rust fixes for v7.4 (2nd)
Toolchain and infrastructure:
- Fix build error with bindgen 0.73 in certain configs such as allmodconfig by deriving 'Zeroable' for opaque array wrappers.
'kernel' crate:
- 'cpufreq' module: clean 'undocumented_unsafe_blocks' Clippy warning for Rust <= 1.86.
----------------------------------------------------------------
Miguel Ojeda (1):
rust: cpufreq: fix undocumented_unsafe_blocks in PolicyCpu::from_cpu()
Sasha Levin (1):
rust: bindings: derive Zeroable for bindgen's opaque array wrappers
rust/Makefile | 9 ++++++++- rust/kernel/cpufreq.rs | 4 ++-- 2 files changed, 10 insertions(+), 3 deletions(-)
The pull request you sent on Sun, 8 Nov 2026 05:16:59 +0100:
The pull request you sent on Sun, 8 Nov 2026 05:16:59 +0100:
Quoted 1 line
https://git.kernel.org/pub/scm/linux/kernel/git/ojeda/linux.git tags/rust-fixes-7.4-2
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/bef911b8064db38d32ccfed7f05ac639978180d6
Thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/prtracker.html