Skip to contentSkip to conversation

Rust fixes for 6.5-rc5

GIT PULL Merged Miguel Ojeda 2 participants 2 messages Aug 5, 2023 – Aug 6, 2023 Rust

lore
Share & tools
lore

Miguel Ojeda

author maintainer
#0 lore raw

Hi Linus,

Please pull these fixes for Rust.

The oldest is a bit involved, and the other two are straightforward. The complex one has been in linux-next for 4 days and the others for 2 days, but I reworded yesterday the complex one to add a couple tags (no changes otherwise -- you can find the previous version of e.g. the oldest in linux-next at cf222ce8477c).

No conflicts expected. No changes to the C side.

Cheers,
Miguel

The following changes since commit 6eaae198076080886b9e7d57f4ae06fa782f90ef:

Linux 6.5-rc3 (2023-07-23 15:24:10 -0700)

are available in the Git repository at:

https://github.com/Rust-for-Linux/linux.git tags/rust-fixes-6.5-rc5

for you to fetch changes up to b05544884300e98512964103b33f8f87650ce887:

rust: fix bindgen build error with UBSAN_BOUNDS_STRICT (2023-08-04 17:10:50 +0200)

----------------------------------------------------------------
Rust fixes for 6.5-rc5

- Allocator: prevent mis-aligned allocation.

- Types: delete 'ForeignOwnable::borrow_mut'. A sound replacement is planned for the merge window.

- Build: fix bindgen error with UBSAN_BOUNDS_STRICT.

----------------------------------------------------------------
Alice Ryhl (1):
rust: delete ForeignOwnable::borrow_mut

Andrea Righi (1):
rust: fix bindgen build error with UBSAN_BOUNDS_STRICT

Boqun Feng (1):
rust: allocator: Prevent mis-aligned allocation

 rust/Makefile                   |  2 +-
 rust/bindings/bindings_helper.h |  1 +
 rust/kernel/allocator.rs        | 74 ++++++++++++++++++++++++++++++++---------
 rust/kernel/sync/arc.rs         |  3 +-
 rust/kernel/types.rs            | 22 ++----------
 5 files changed, 64 insertions(+), 38 deletions(-)