From nobody Tue Dec 2 01:04:42 2025 Received: from mail-pl1-f173.google.com (mail-pl1-f173.google.com [209.85.214.173]) (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 88BB521CA02 for ; Sun, 23 Nov 2025 09:27:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.173 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763890041; cv=none; b=MXY/KY+3QiTCtvKduNSoDXf2k9pCVp0vMNKmXbN3cWo+BsUehhb4x4PPyGcvKLVyexV2589U+L7fh45hvUEFPvPmj520e/CCmHAZ9tZBHhBzeReDw5QPewEEtesB19hM/Uku0tAJ/fUBcZb8jKWpXdztJWBCkxOm+2dkSh4/Udk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763890041; c=relaxed/simple; bh=0T0m+vzVHWTBjikXdKLHTliy+liCTCohp1BbecNTmzY=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=Bik1GAGMnpBMxqEqK1sNH3OjBXI2fH8sjt0UEz6ylCHClD/uRUN00hHNYu1EY061iqz5hbCgwV/DZJVNRrL/YejwPifjv55Ml7Ljpk9OdOlVzOtqxF1GIFWIDH63yWfuMt7cnxgyHj79VcxLvWo9t3jvdxjo7GqcWquVFx1goPY= 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=BK6HxJu8; arc=none smtp.client-ip=209.85.214.173 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="BK6HxJu8" Received: by mail-pl1-f173.google.com with SMTP id d9443c01a7336-299d40b0845so55318325ad.3 for ; Sun, 23 Nov 2025 01:27:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1763890040; x=1764494840; 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=cuE/I+mSjy5RFqX89Pi5DjFF+u40p6VYH+8i+leWPLg=; b=BK6HxJu8klsBazdbsG2lf0ie3JYLn/L698A1rKw5A/Vq5mhZ06S0sWiXKKUDLQ9cbc EaPdiKjt0CHqRx1KPhUsmjr9jUABQTE8qP6DFMuR+o18KmEl3nVeig7aFrdnARYS2Q+h F41cf/ghn+cEukAlsxvEt/so/q9tm2nfpguCfTf0+erBS+qjzniFGgcMwKROsDTEwc2g e8Q6vmv9Ulx55qKrk5Fb3qS3YyRz0PAK5D1MGO86l0r8JmE/eMVLPp2xMed1IKqGIFdv 7080TVJwaycuxrAyxFj7Y6uitFgPRg5OEEO0SfvsqT7OldinGtLHFwkSEqOa3jD5j9uQ V++Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1763890040; x=1764494840; 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=cuE/I+mSjy5RFqX89Pi5DjFF+u40p6VYH+8i+leWPLg=; b=LqjBaD9dUeisIX9zLDGUdT4ek93SmnQYIY56fbLQY7lfYirjtizDrKnRGDvOEzvbO4 ogYEbk7vrFclBcsfvZggb41kbcq63QjPj8eimqZJWEDW3ECiK9YZMGCAvn7BC6gTpDIF W9ccEBVatK/NoKf/NMeb6NcBylHrlOAt75Oue3bkbGQ6jdQ/GZqizPzWrKjvXwMycEmY kjfMQsorGuJ9Ab081Wh+6GOnYNGPCso6cnimt+IfjdZg0iGKx6KvxHG1vFcA4xkXkX8T kvQDx4PaltpAtMTsbb8b39CYbF3+sd5Uyvjc300Lrmz3xaWuAlMkNufor6HE9UwKPh9Y g3ug== X-Forwarded-Encrypted: i=1; AJvYcCXQBgPP0FZKM0BF6cZ/UaWz2hpfYREwELVpAZ8H2rYlvSm+OrJ73hF+NAy7CsaHV73M9QXOwPutlOibslM=@vger.kernel.org X-Gm-Message-State: AOJu0YwF3HQP70Aex3vhg6ugoEOBwjvnNgqrzUOSobsaDMX+bO6ttPki aOcJcX9kXfEPdrkdLkyBkoTCuExaUv5w521k2xA2pvqbU2fbLO8Q98eY X-Gm-Gg: ASbGnct/2DfA5TqVc0vJnWIweaxdAADdXz95OwxFDOD/65rN2s/yh1yHF42xKu9JR7o iz6B/1n0d4FT14ytSZJtQI3sdvCQw/uK5Vp7Te9yghu2b8s0ZjkcoLtyhafiaMqdI90I+YdivQj ci394/ZpCHWHrBYBGaWPZjh/nP7Otru9yFxhg4/7mhLuWbB5vJdBeT1x1qaYFbhsIgg1eexnPWh iABCaiSWFB2Hc5js6iaKJKX9DCvx+2KxFcG2ToiPevluvUvkaCoGExFFTC9hWqCFCFcTgFB/qst DBfzpIdKtapZsK/Sf3aJCe9YxalEWzWfxGHFMlgAqxpwy7Ani5TCuWFCRFO0NQ7A1nmt0qyta1l hyWH5h2EvAUXXzHaoiPck0WeSN87vm/AQsIIGZhOkU/3lcRsOpiIzKz2eVbsYsr7N4NbO/s+BVL ymLdipptCu32vLx5MUlj4NiywRzA== X-Google-Smtp-Source: AGHT+IFMN2aUokRTTtS+sIFfNu4kcDd93MwuGAJrh+xf6L/Jjr+U1cR7WS31QoNboosVEzIBjpWEvQ== X-Received: by 2002:a17:903:2c06:b0:297:fc22:3a9f with SMTP id d9443c01a7336-29b6bf19f1dmr93932225ad.38.1763890039910; Sun, 23 Nov 2025 01:27:19 -0800 (PST) Received: from shankari-IdeaPad.. ([103.24.60.188]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-29b5b138c08sm100811105ad.25.2025.11.23.01.27.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 23 Nov 2025 01:27:19 -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 08/10] rust: kernel: Update AlwaysRefCounted imports to use sync::aref Date: Sun, 23 Nov 2025 14:54:36 +0530 Message-Id: <20251123092438.182251-9-shankari.ak0208@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20251123092438.182251-1-shankari.ak0208@gmail.com> References: <20251123092438.182251-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" Update call sites in `usb.rs` to import `AlwaysRefCounted` from `sync::aref` instead of `types`. This aligns with the ongoing effort to move `ARef` and `AlwaysRefCounted` to sync. Suggested-by: Benno Lossin Link: https://github.com/Rust-for-Linux/linux/issues/1173 Signed-off-by: Shankari Anand --- rust/kernel/usb.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rust/kernel/usb.rs b/rust/kernel/usb.rs index d10b65e9fb6a..79ff2f881572 100644 --- a/rust/kernel/usb.rs +++ b/rust/kernel/usb.rs @@ -12,7 +12,8 @@ error::{from_result, to_result, Result}, prelude::*, str::CStr, - types::{AlwaysRefCounted, Opaque}, + sync::aref::AlwaysRefCounted, + types::Opaque, ThisModule, }; use core::{ --=20 2.34.1