From nobody Sun Feb 8 08:49:01 2026 Received: from mail-ua1-f44.google.com (mail-ua1-f44.google.com [209.85.222.44]) (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 43D133A1E6C for ; Fri, 2 Jan 2026 22:00:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.44 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767391225; cv=none; b=dZtgqTk+SCZlh+Uc+DOhqAhZcHP6LqQaqARFA6V1sZqPnpsCxYg3FfVaA65C4cfGUkwVwt6CINjNdanQdVqO/hNtdFylabk/dmgz65h3oqxhpzbCUh5ZyiW5/m1otxqW1YhHpogjbIWD1CICZAaTboUVa9URGhVXNcNSM6NPZZw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767391225; c=relaxed/simple; bh=HiwJMnq8mr6pQzgKiF+VCQjWYlZRdru5QWhtxuLezo4=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=X6P8EkYHDj1EDiAz2U4Diso7mMboYRqKf1ciJa3Q0SzrQGP8pWEIwQ5jQNBrit8aXaLpq2zw2SloP5BnvriEFkjf3pEBgdEvKuxuq+9cKkLrkKA3bVvqTLf5q08dkG40a+UcvIYdCFJDR1zgpO1EyJvk++g8vfTI5Kru9Y0TIS0= 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=WP2GDm0L; arc=none smtp.client-ip=209.85.222.44 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="WP2GDm0L" Received: by mail-ua1-f44.google.com with SMTP id a1e0cc1a2514c-93f523bba52so158439241.1 for ; Fri, 02 Jan 2026 14:00:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1767391223; x=1767996023; 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=00GmlgJ1AaWzlpDrlo1/wDhQO5iplJBPhyzyjHKeuRM=; b=WP2GDm0L1hSOLKEN5/2Vs1hQ/89XGee5ZTy7eTMmgFQiPocPQlGTL+1NEYeZU9RMt0 Lb7rVYPmzVnvc+1GuOEBuGnlgMJ5kHSUGl32D9nlGVc1ncRCnWxHp/UhPvawypDRgF1w MFpgDwgAFBCid0RrUcWTfn+EhaN7eq3RpjSrjylZG9Q8RL/akz8M+51kEqpsC12vjseU dupRA0BfCnq0YZOTCyNa9y+ehk65pTz2mWzv64N3Y+5ykdeFueEiLGkro1uD93ZmQ37E 9ooIAw5u9SVXqCsqy5PqLoYxiHQdocUbTaXqrbcDtO3RwRtXD9klvqpoHk6tZZIfT/tg mTFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1767391223; x=1767996023; 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=00GmlgJ1AaWzlpDrlo1/wDhQO5iplJBPhyzyjHKeuRM=; b=HVa1QSn3Fcxx201V7rpE+K8iZpsT0LYUpKGxL5uaMGM5fu9JDoBiRvRX53ZWrJ7Scc tB1/my42UcCgAvhryVTjqNAba7DJ7M5SUmkk2VazEcrmjYUra2cDDbnM33nZZ0Nzlmj8 ONWqvp2bjxl3UvG2UdLhUZC8HIfiRiAebYPMNuaunQi3dV9PBP3UMi1ALfHQdTQkSfkX kczrIaBqvEBVEIF6SQQKVBJt1OyaHwtl/pp6i3xtHI1dCTg38rz0kDw+60QfUnZzZ/X3 1Pp+b7TbgLcAwV7nkmm7Drt5eI+biB+VpzTmBBZ29BuDoMNu5VvxZd4Rvw76y+Gs9gc7 h63A== X-Forwarded-Encrypted: i=1; AJvYcCWDxLTUy7LAZ8HeDfQQOdutznvaxLmvE1jvAGe9Knj4K8W09QegKFMDl0fv0DtjFZwx1Ulsd4tlhaD+e1s=@vger.kernel.org X-Gm-Message-State: AOJu0Yx1GuLpd2Ye0p6oxlWC5z4Z48W+NxPF0WlF0J7fL5qjWx9i2SMe Iz5kmU0KikfnbZjPicjnrPtmrwB2q9MBjbtGXxp1Fttz/yFAE0txIcuTosTcig== X-Gm-Gg: AY/fxX6Xy3n1MEBWJxgaioXn+T7D7xRYGfNzfmEN7JmQp0FSwo/+EGzJV/DNQSV2IRR 5avpw5WO5WRnH4Lj0F8h44cJQZTFISIDcrj124ydG/UyLhr5ss/BX3TyR8uYGY7c8BTOaz3PO3/ rec8KU/EBk63HU9pMuWCSBJjWpeTcjUQ2gcLkjYUhr7AVaMPC6Zi4m8xfq40sXoiE3x9VCjqaxB YjE6gm+kW6ZqYiv86Uyv/odLPXHEt9WNC1GsnibfHf6DR1w6TWakb7pqZXzn3BZNVDcgWVVcnai 6EanKtKVLiTU4yJ3hYv2MXvoHweYRnfiK3isXOQLvOfVL+hb+VSiX6gP1yVXvyxz0JWLux+7BkC jyVtCdphB/+1DF3yMyWhheYROZJ8cNe7SXQ0vySpsL1H290hOmx8XBiyQWanWjtLsTvvi4Iw9P9 w8F03dZQ+tkySIN5f55DnQfPgM+iDumg== X-Google-Smtp-Source: AGHT+IEPMyBJPq9CEUhq+9mYwW8PVJVrcnr0aB/pVVOfrs9LUwZ+gBfHYbBS0sfvzwsICPax6EXltQ== X-Received: by 2002:a17:90a:d883:b0:343:747e:2ca4 with SMTP id 98e67ed59e1d1-34f45399a2cmr556499a91.9.1767385730273; Fri, 02 Jan 2026 12:28:50 -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.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Jan 2026 12:28:49 -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 3/4] rust: usb: Update AlwaysRefCounted imports to use sync::aref Date: Sat, 3 Jan 2026 01:57:13 +0530 Message-Id: <20260102202714.184223-4-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" 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 --- v1 -> v2: Re-worded the commit title to rust: usb: Link of v1: https://lore.kernel.org/all/20251123092438.182251-9-shankari.ak= 0208@gmail.com/ --- 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