[GIT PULL] Rust fixes for 7.4 (2nd)

From: Miguel Ojeda

Date: Sat Nov 07 2026 - 23:17:35 EST


Hi 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(-)