From nobody Sun Feb 8 05:35:06 2026 Received: from mail-qk1-f181.google.com (mail-qk1-f181.google.com [209.85.222.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AA12F2036E9 for ; Fri, 2 Jan 2026 22:06:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.181 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767391581; cv=none; b=UXyiN1pBcKEhUfNb4GxAwt9BIPz+W4WADzcuTYZgBgYuY1x88YCM2PMEGZRRUk8y1T0lkD2mPYMj8VPGlFHaoekIsrwIiq7tmaDuazmgW7wXNlTep14XYXM3Uw7nFOHbOXDMhzxFFimTLKhW7hvGfpwRbK3RWx+yGNNoi8FkMzU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767391581; c=relaxed/simple; bh=EMMkEKDBYQlPPVj8hbI9T1WIarwzfCraz4glSicyigc=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=EVFSvlm6WD/YX2Z+sLNUpVnTY23bTnWfyQSTYdh9ngOyPM10+2KtoX9NjUwpGv0r4hMD5Rke+gBY6JVrC2r8P0FPfnxFsBXniCrAGEVepa7VpW3hPyy4MntCSpypDqRcqfKS82IfIhLk6FqLdLHYP0Xz9q3wc5UGXuZLlFytTUg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=NmHUH28q; arc=none smtp.client-ip=209.85.222.181 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="NmHUH28q" Received: by mail-qk1-f181.google.com with SMTP id af79cd13be357-8b144ec3aa8so1308714885a.2 for ; Fri, 02 Jan 2026 14:06:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1767391578; x=1767996378; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=EHf0Cw2T8TXNCaYX5vHXpRGxLPgjtsELwtTPtFxfep8=; b=NmHUH28q8bGNriN5/zR0eAI1aF2esO2e3IRqqKbi1ysa6XxCyiFJKIOiGiA722Mh+R A18RQxcksg6faLqjj0ionvgMJ2p4bPFy1LpmBAzfz18qIAdnkqocErZjjdKEEHsMNm7B hhyrPwmfIpJLjo7HEvFw9xiQUtssuRbbUvQIE52hWaOLrIgnoGeSnftCeJAgJiS4P2Fr zGoeLOy2/591I2DI1TGtLjyX1UOcf6lne2uH465iHvjjUOd4bFd1AHyNTNlCVcQm6FAo LyHFaO8lbL5cFAuG8X8pZWY0inc2k0NPONCdgdd7SMvfeH0OnYe5Uzz2qcnNwCLVAths oIuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1767391578; x=1767996378; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=EHf0Cw2T8TXNCaYX5vHXpRGxLPgjtsELwtTPtFxfep8=; b=jlVn2WvwiQjttMLApKFwfJYWhWQH6/Cb3h60zJY99cejVZ2pZutmuo76doCYV87SjL DOInlxyf79w0gOme+RislxXc3sB+JKfkn988howTTW+s6ePX3P80ETAypYAHO44wbJ0e MVaDOfhCvJBhNVVMJceeVxy8ZLF7HH6Hr75mfQl7fboPLqX5Z1R9gG/LRQWzVls707dE i86wQZxRjZwGclmm/FZGC/Rh95iAO8KA/9fqMmVuF0GOPcIF9uw8QMIXRwea/sYd50KN 1Ef3AfuOZpr15WdN0PowpVzr3RjW660oZaow6bUswGPP9TkuYkYOnnUo0Oyq5M1Qv+N/ pnYQ== X-Forwarded-Encrypted: i=1; AJvYcCXiVCF6i3TfzEfsXTbsdGeJBaPFPTIaoL2J6Be4/oEGG/L2FnQRmRk1IWEsVC4+8xRcRolVIkYbXTQJCGE=@vger.kernel.org X-Gm-Message-State: AOJu0YyT56a5VbK4xfNKBOD2lFRzdNTvIZUWgiru33W8gpol2BMnQHx2 Cb7hKo7DiKxc78Kl7ccLcIZE80hqkHgEwUXfEpscg9ZeZkYKji4nIOwRB5owLQ== X-Gm-Gg: AY/fxX4VrF5CKE0o98QETr1y6FQR5qsNKpy9bVxM8iN1hlevA9yfAOnhRZjHKqDDI5r lC0pItoP55uiwx7B2l8VEfQw4sVN2hf0/uml+Plj28+YZyaPFqazQBVi2SCD6s158vOI+WfohCU 5DxyPM77IgtYAXxjiEH/UjQdA2LkJy1CIYH6UA6ZBl8/+3Gav6jKPRUTwYtreQDJe4CQS87Yi9z G2r7wgpmEJ0WOcvoC1Gz4lMYLJcDIbByO1H6EQvscqYkVSiOAvxjy0NCayxQ628PVJ9tF9ChvXT KcmSUUZ6iT6+1dAyzhcS0duG6nXadRl0RBVBAYTDrQfAJ4MlUM4Ctr3kP2kT8Cy33ubpFP5jVOo WMTv3LYHeE9aCR8khSKeY8Idco0fY39KFWAN87zx9DgWoItbVcORVcRQ+GJJM1OjHMGptb41Yoi ewrrYyUk/bNJ/CfS/uo9Qbyt92pXvcFA== X-Google-Smtp-Source: AGHT+IFUU02kaMpZOmAE1cbvVQkZ4U+cCpsROlkOGIuje7KQvVu3XAsyFDM3AK3Twn/ENVZrOLU0sQ== X-Received: by 2002:a05:6a00:1d08:b0:7e8:450c:61c6 with SMTP id d2e1a72fcca58-7ff6667b6bemr35159912b3a.54.1767385751373; Fri, 02 Jan 2026 12:29:11 -0800 (PST) Received: from shankari-IdeaPad.. ([2409:40f2:2123:b1fb:b93b:b5b4:2357:c53]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-7ff7e88cd71sm41163964b3a.64.2026.01.02.12.28.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Jan 2026 12:29:10 -0800 (PST) From: Shankari Anand To: "Greg Kroah-Hartman" , =?UTF-8?q?Arve=20Hj=C3=B8nnev=C3=A5g?= , "Todd Kjos" , "Martijn Coenen" , "Joel Fernandes" , "Christian Brauner" , "Carlos Llamas" , "Suren Baghdasaryan" , "Danilo Krummrich" , "Alice Ryhl" , "Maarten Lankhorst" , "Maxime Ripard" , "Thomas Zimmermann" , "David Airlie" , "Simona Vetter" , "Alexandre Courbot" , "Rafael J . Wysocki" , "Miguel Ojeda" , "Alex Gaynor" , "Igor Korotin" , "Michal Wilczynski" Cc: "Boqun Feng" , "Gary Guo" , =?UTF-8?q?Bj=C3=B6rn=20Roy=20Baron?= , "Benno Lossin" , "Andreas Hindborg" , "Trevor Gross" , "Daniel Almeida" , "Abdiel Janulgue" , "Robin Murphy" , linux-kernel@vger.kernel.org, rust-for-linux@vger.kernel.org, Shankari Anand Subject: [PATCH v2 4/4] rust: types: remove temporary re-exports of ARef and AlwaysRefCounted Date: Sat, 3 Jan 2026 01:57:14 +0530 Message-Id: <20260102202714.184223-5-shankari.ak0208@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20260102202714.184223-1-shankari.ak0208@gmail.com> References: <20260102202714.184223-1-shankari.ak0208@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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 Link: https://github.com/Rust-for-Linux/linux/issues/1173 Signed-off-by: Shankari Anand --- v1 -> v2: Re-worded the commit title to rust: types: Link of v1: https://lore.kernel.org/all/20251123092438.182251-11-shankari.a= k0208@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}; =20 -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 --=20 2.34.1