From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6C68B10EA for ; Sat, 5 Aug 2023 23:58:08 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3CF8FC433C7; Sat, 5 Aug 2023 23:58:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1691279887; bh=fs4x6PeHwicN8FTsqkY06qC8SCDDAnU0rMG7AHf+rjw=; h=From:To:Cc:Subject:Date:From; b=Yn7s93IO+w2baPotkwDuOiqsj9MbRC11d10rg62BYBreUuDHhNWdQhcX3R6LscCbs c92PEplaUEGIv3VjAInEY7ihjcmShP/e09QkVMvLGsHOJZ+6RCxSQ+kh/UWMU7gxsj UZWXIs+t+/PwdYmoqtb7BmCNmKKN4uUmZO3fGXeyYspOGG562UsS4oYvon1Af+8/Pt 1eFkTkB437NVcAurn2lJfb2Ett+B/u3C3pTo4cw2WZrxPAkXXR9j5LcnTByw4yr53C yrhQPrbG8/5bM8VUu1M1klMwrw5TeUQoq5mNhqQiiZUL/PRTvzO9/K41MWlFf+cVfp LLwm4SpcAHEsA== From: Miguel Ojeda To: Linus Torvalds Cc: Miguel Ojeda , Wedson Almeida Filho , Alex Gaynor , Boqun Feng , Gary Guo , =?UTF-8?q?Bj=C3=B6rn=20Roy=20Baron?= , Benno Lossin , Andreas Hindborg , Alice Ryhl , rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [GIT PULL] Rust fixes for 6.5-rc5 Date: Sun, 6 Aug 2023 01:57:50 +0200 Message-ID: <20230805235750.54075-1-ojeda@kernel.org> Precedence: bulk X-Mailing-List: rust-for-linux@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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(-)