From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f170.google.com (mail-pl1-f170.google.com [209.85.214.170]) (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 BF859176ADE for ; Sun, 23 Nov 2025 09:25:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.170 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763889933; cv=none; b=VFzImUdMk82J3PqoaJ/p3ZpfI4Qox+EnGT9rOkGedYPlOdKF6J3YrmusBZxw1Z/l6qMOlTuwRPqG+IOreapJ5p6MLDjm6JPYcgfcHJfjHIzQjxGHl7JQSmbVFti224yEe/kcCEmOD/XW/SuBIq2uk+ppgmWLN8kkD8mUVEjf9tA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763889933; c=relaxed/simple; bh=nEqPnpenHeMQyt4BL5b+1nS5H2Z7JAz6A5D7rnZ2cp8=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=G9CaigBs/ap7OHCxDvIfN9U2xqHc4HHDpXlIG3py1XFvSy9yB4hA1fLeSCn7BNuNTaXXCN/33C/JIBJjwtB8VhUq+FbS1Az6+bAGBtd0BDQwBDswd7NfS+AA37NlO/ardN7y62LeuV2aK7mMC3hvHBkz0kMkgj72n0Y+N7EAX+0= 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=E1uMvzGw; arc=none smtp.client-ip=209.85.214.170 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="E1uMvzGw" Received: by mail-pl1-f170.google.com with SMTP id d9443c01a7336-29808a9a96aso40172515ad.1 for ; Sun, 23 Nov 2025 01:25:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1763889931; x=1764494731; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=977npvamVvdSn8Hrj6nV2vV28cG+wMk/irqNnaoU/Xw=; b=E1uMvzGwjfY9YUY80WZCRybsk4ehNF2NHpzuza03qbgc2GwiWivPL0cReYqRCno3XT I6mANquK1yNeeAAjruffs1bPKW9BpBh/TedixwIyNxLtOQILKT4jSN3dFjD5YR+w8dP9 jD4EIFU7nPFTQOp66uceJAfuq932KGlQl+nM/G4ZpVWOsJEIzW6d08Gk4qE+T0RE8YO6 Xam6aGoyRMAl81Os4tMAaqLbC23l9U3ASCLhWtk4YrOR5Hqp4EIl8CbdLNmCac0hFc8Z FZy/iBhDU5Fw9as3PdtDHUwkPO53BobfVxRGhf1zMwKwMDtxw0WSxhOCPgTVIAHeY//z 9Etw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1763889931; x=1764494731; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=977npvamVvdSn8Hrj6nV2vV28cG+wMk/irqNnaoU/Xw=; b=kh8Cu2JUph96WSjaN8pW33h7H2RP6NeBJ7byr5H0g7KBiJR3kczeeV3XJbZU+0s/gB EW9+l+oxy79oFam59ZHO/LRbpOiyZ002kFuyFlT+dbDQpq1/17RlJGEm7aHKLBAjOQPa CrlGCdq62wUrAlZ0VvNBKdGrRN0qKz1Q5qw4WllX0txahlySL+XW3teGfzGTIkp9tjai m5j0w03YeP7SQrmZiaz1YB0nMfOpWseIo5deSkYl6QhO12pHjGvHptG93asncuOxm3EF jeUxkDCYdGT2siUiFkx1Jbp1ScI+feFhGpcYetTZ3oz91Rk4DAj05wP0n3nN7/72q9Qn 4VvQ== X-Forwarded-Encrypted: i=1; AJvYcCWGGad8ip5S+38X0htBlEsAb88RkcPKFK3wDpxVCwVtnOuTT6YN6Pdy74UfZRSwPs8r/pAM2c2yBzLvDmU=@vger.kernel.org X-Gm-Message-State: AOJu0YyfdtcRTkgn8FizjrWN9aklELk04nt7+hHWoLd6i8g2MkaxHMAa QtRIjjrlOC6LvOQnhyXNKOViiiYrs5OtZbHxNjnHa4W63gMQgYMwD/7T X-Gm-Gg: ASbGncv9/urO0Wek3pliRLTw2ivc4s7z/krsPnX3XsVKRMJnSnG/r23+/evypLv/nSF McPPE+Yf37nU90P3NpdDFox/BHq1JAo+CsrykDH/0EMlhXX9NYgdg0mA4mVTbqMAiBxUFFhy74/ x8hNknQLYu/r/8xiGCVGJfoEaEwBh6JBCV2NJ5JDbbVmceU1zmMkOyr48IjFJjqo981dr1urOo9 myYqECrXEZJFKd6/DJhNVQqNlykswz8X4yIW/o4Kt6xfoIo2/xnTsVcVYGfMpUWXpoeamYrOV1N gxXaQsaglOIyBxrf/TlOzqEcYVRrUlOInTs8bPIMVkXufltSeHqtYGH/L5KHJhMmM4vCKG6KgOp JO+B1YM8NfFrljpbi50EKf1EUQ8lst4pCpCRj8wldQVt5o5odX2Vf8bL6rfkSSIdXwYVV6I4dPr f3opCIepOXMQas/3AWDr4HkFRN/A== X-Google-Smtp-Source: AGHT+IH0c6lqi1+YOT+atVR2GQVjdlkn5EPFXDoVAJCKagGeZwAimktqjcIQnMFOvKx8Iio/IO02PA== X-Received: by 2002:a17:902:c946:b0:297:c0f0:42d7 with SMTP id d9443c01a7336-29b6bf5f050mr110076125ad.41.1763889930982; Sun, 23 Nov 2025 01:25:30 -0800 (PST) Received: from shankari-IdeaPad.. ([103.24.60.188]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-29b5b138c08sm100811105ad.25.2025.11.23.01.25.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 23 Nov 2025 01:25:30 -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, dri-devel@lists.freedesktop.org, nouveau@lists.freedesktop.org, rust-for-linux@vger.kernel.org, linux-pwm@vger.kernel.org, Shankari Anand Subject: [PATCH 00/10] rust: refactor ARef and AlwaysRefCounted imports Date: Sun, 23 Nov 2025 14:54:28 +0530 Message-Id: <20251123092438.182251-1-shankari.ak0208@gmail.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit This series updates the import sites of `ARef` and `AlwaysRefCounted` in the Rust kernel code to use `sync::aref` instead of the previous `types` module. The refactor to `sync::aref` from `types::` was introduced in the commit: commit 07dad44aa9a9 ("rust: kernel: move ARef and AlwaysRefCounted to sync::aref") link [1] The goal of this series is to complete the migration of these types to `sync`, as discussed with Miguel Ojeda [2]. The last commit in this series removes the temporary re-exports from `types.rs` that were originally added to avoid breaking the build during the transition. [1]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=07dad44aa9a93b16af19e8609a10b241c352b440 [2]: https://lore.kernel.org/lkml/CANiq72=hSTpAj7w8bvcwoJkivxD_FPKnx9jD6iNvhsENnnXBzg@mail.gmail.com/ Shankari Anand (10): drivers: android: binder: Update ARef imports from sync::aref drivers: gpu: Update ARef imports from sync::aref rust: device: Update ARef and AlwaysRefCounted imports from sync::aref rust: drm: Update AlwaysRefCounted imports to use sync::aref rust: kernel: Update ARef and AlwaysRefCounted imports to use sync::aref rust: kernel: Update ARef and AlwaysRefCounted imports to use sync::aref rust: kernel: Update ARef imports to use sync::aref rust: kernel: Update AlwaysRefCounted imports to use sync::aref samples: rust: Update ARef imports to use sync::aref rust: kernel: remove temporary re-exports of ARef and AlwaysRefCounted drivers/android/binder/process.rs | 2 +- drivers/android/binder/thread.rs | 3 +-- drivers/gpu/drm/tyr/driver.rs | 2 +- drivers/gpu/nova-core/gsp/sequencer.rs | 2 +- drivers/gpu/nova-core/vbios.rs | 2 +- rust/kernel/device.rs | 4 ++-- rust/kernel/device/property.rs | 5 +++-- rust/kernel/drm/gem/mod.rs | 2 +- rust/kernel/i2c.rs | 10 ++++------ rust/kernel/pwm.rs | 3 ++- rust/kernel/scatterlist.rs | 3 ++- rust/kernel/types.rs | 2 -- rust/kernel/usb.rs | 3 ++- samples/rust/rust_debugfs.rs | 2 +- 14 files changed, 22 insertions(+), 23 deletions(-) base-commit: d724c6f85e80a23ed46b7ebc6e38b527c09d64f5 -- 2.34.1