From a3e8db1fba5f3670bfdb2f7c6f6937422412488d Mon Sep 17 00:00:00 2001 From: Alice Ryhl Date: Thu, 1 Aug 2024 16:07:47 +0200 Subject: [PATCH] # No title MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sending a v2 that is merged with [1]. I didn't realize that I was duplicating work, sorry! I'll update the author information to list Kartik as the primary author. I kept my function body so that it returns NonNull to mirror the type used by `ARef::from_raw`. This change was previously included in https://lore.kernel.org/all/20240801-vma-v3-1-db6c1c0afda9@google.com/ but is being split out in its own commit at Danilo's suggestion. To: Miguel Ojeda Cc: Alex Gaynor Cc: Wedson Almeida Filho Cc: Boqun Feng Cc: Gary Guo Cc: Björn Roy Baron Cc: Benno Lossin Cc: Andreas Hindborg Cc: Andreas Hindborg Cc: rust-for-linux@vger.kernel.org Cc: linux-kernel@vger.kernel.org Link: https://github.com/Rust-for-Linux/linux/pull/1056 [1] Signed-off-by: Alice Ryhl --- Changes in v3: - EDITME: describe what is new in this series revision. - EDITME: use bulletpoints and terse descriptions. - Link to v2: https://lore.kernel.org/r/20240821-aref-into-raw-v2-1-9215bbca5720@google.com Changes in v2: - Add example from [1], and fix the imports in the example so it compiles. - Update author information to reflect merge with [1]. - Link to v1: https://lore.kernel.org/r/20240801-aref-into-raw-v1-1-33401e2fbac8@google.com --- b4-submit-tracking --- # This section is used internally by b4 prep for tracking purposes. { "series": { "revision": 3, "change-id": "20240801-aref-into-raw-e0518131442f", "prefixes": [], "history": { "v1": [ "20240801-aref-into-raw-v1-1-33401e2fbac8@google.com" ], "v2": [ "20240821-aref-into-raw-v2-1-9215bbca5720@google.com" ] } } }