lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20260102202714.184223-5-shankari.ak0208@gmail.com>
Date: Sat,  3 Jan 2026 01:57:14 +0530
From: Shankari Anand <shankari.ak0208@...il.com>
To: "Greg Kroah-Hartman" <gregkh@...uxfoundation.org>,
	Arve Hjønnevåg <arve@...roid.com>,
	"Todd Kjos" <tkjos@...roid.com>,
	"Martijn Coenen" <maco@...roid.com>,
	"Joel Fernandes" <joelagnelf@...dia.com>,
	"Christian Brauner" <brauner@...nel.org>,
	"Carlos Llamas" <cmllamas@...gle.com>,
	"Suren Baghdasaryan" <surenb@...gle.com>,
	"Danilo Krummrich" <dakr@...nel.org>,
	"Alice Ryhl" <aliceryhl@...gle.com>,
	"Maarten Lankhorst" <maarten.lankhorst@...ux.intel.com>,
	"Maxime Ripard" <mripard@...nel.org>,
	"Thomas Zimmermann" <tzimmermann@...e.de>,
	"David Airlie" <airlied@...il.com>,
	"Simona Vetter" <simona@...ll.ch>,
	"Alexandre Courbot" <acourbot@...dia.com>,
	"Rafael J . Wysocki" <rafael@...nel.org>,
	"Miguel Ojeda" <ojeda@...nel.org>,
	"Alex Gaynor" <alex.gaynor@...il.com>,
	"Igor Korotin" <igor.korotin.linux@...il.com>,
	"Michal Wilczynski" <m.wilczynski@...sung.com>
Cc: "Boqun Feng" <boqun.feng@...il.com>,
	"Gary Guo" <gary@...yguo.net>,
	Björn Roy Baron <bjorn3_gh@...tonmail.com>,
	"Benno Lossin" <lossin@...nel.org>,
	"Andreas Hindborg" <a.hindborg@...nel.org>,
	"Trevor Gross" <tmgross@...ch.edu>,
	"Daniel Almeida" <daniel.almeida@...labora.com>,
	"Abdiel Janulgue" <abdiel.janulgue@...il.com>,
	"Robin Murphy" <robin.murphy@....com>,
	linux-kernel@...r.kernel.org,
	rust-for-linux@...r.kernel.org,
	Shankari Anand <shankari.ak0208@...il.com>
Subject: [PATCH v2 4/4] rust: types: remove temporary re-exports of ARef and AlwaysRefCounted

Remove the temporary re-exports of `ARef` and `AlwaysRefCounted`
from `types.rs` now that all in-tree users have been updated to
import them directly from `sync::aref`.

These re-exports were originally added to avoid breaking the
kernel build during the transition period while call sites were
incrementally migrated. With all users updated, they are no
longer needed.

Suggested-by: Benno Lossin <lossin@...nel.org>
Link: https://github.com/Rust-for-Linux/linux/issues/1173
Signed-off-by: Shankari Anand <shankari.ak0208@...il.com>
---
v1 -> v2:

Re-worded the commit title to rust: types:

Link of v1: https://lore.kernel.org/all/20251123092438.182251-11-shankari.ak0208@gmail.com/

---
 rust/kernel/types.rs | 2 --
 1 file changed, 2 deletions(-)

diff --git a/rust/kernel/types.rs b/rust/kernel/types.rs
index 9c5e7dbf1632..4329d3c2c2e5 100644
--- a/rust/kernel/types.rs
+++ b/rust/kernel/types.rs
@@ -11,8 +11,6 @@
 };
 use pin_init::{PinInit, Wrapper, Zeroable};
 
-pub use crate::sync::aref::{ARef, AlwaysRefCounted};
-
 /// Used to transfer ownership to and from foreign (non-Rust) languages.
 ///
 /// Ownership is transferred from Rust to a foreign language by calling [`Self::into_foreign`] and
-- 
2.34.1


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ