From nobody Tue Sep 29 08:48:19 2026 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1BE204334AA; Wed, 12 Aug 2026 11:18:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786533523; cv=none; b=afmGQU4yf66xQWuELX4x5RGUOLmcedIXPN0qT2o7r+8SeI0ss5kGMYBtGZcBbnW8grQHYVRq6EFNvKGt6q7uQT32I/EmfhqvCEW2X22y0a9IknP7IfK2MmTb8u0exyhxR8Jly6FdZksQp5ImO2kc4L0i+WwPji6eucPfzc62EuU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786533523; c=relaxed/simple; bh=RyYK9kmame/naIrywJI/jdI1Wg3Fiy3iWYCeELYQWZU=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=PNySw6v6yQFIsd4heFS1+yUPlWPMNlDuBbCm4bZ/B39jRf7hgWdcyDP7oD4HAmC6VJeaEJ7AnItkm3fK0oPYWMCoB4bBGAnBkDou7OPDWXCvx6O7Wp5BbpBLDHzzD9UDgKl+NBhrxmfktQ3LwP/5WGVU26Ded+hhzF+PYBDnMq8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=hbjrMVX1; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=cYhrTOZp; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="hbjrMVX1"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="cYhrTOZp" Date: Wed, 12 Aug 2026 11:18:37 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1786533519; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=pQpGO0zAUYYVHtM7jt1F0HXUDgRvnAz2USPJqieSE94=; b=hbjrMVX1fqFoVSgXGfC2o4zCwjMFwPlGHkXfjKIjmDC6z6Om+gGtRchbn8jYNyK20Kq8qd 5Y1HxUAdiCzH9Y6UCfe8qncj3HXQAQjyL+WWsSRmZDjjqjLeqg7kDoJwk8DEvUfmr9z+HC sr3/UVs8+fTXXjjml3tHBu7dJenoULOwPuIiPCsutZQsIe7F2YSCuuPSGV7KyVra4Qo1Z7 ZL+HV+wgUiKvgt8+Q4f0hQQB7tgZU1n8QJ2PoGaWSPjg9G6pFL3lqgRZzWlGsF1NfCeYLU q1jHotOUmWM3S8HLc4k3sYXQpx2AKhcaK808xxJjyDDkMzebNS6YMvZxYgG3FA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1786533519; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=pQpGO0zAUYYVHtM7jt1F0HXUDgRvnAz2USPJqieSE94=; b=cYhrTOZpobRDqakxs97vhC+Gvedu/dDiyGk73nYj8Wb7JLMOOMkkdoAVkT1IBcMwmGRGkD 42l3xs7MeX/6n5AA== From: "tip-bot2 for Lyude Paul" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: locking/core] rust: sync: Use super::* in spinlock.rs Cc: Lyude Paul , Boqun Feng , "Peter Zijlstra (Intel)" , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20260807070218.27144-17-boqun@kernel.org> References: <20260807070218.27144-17-boqun@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <178653351738.442315.4053658557221750211.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Precedence: bulk Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable The following commit has been merged into the locking/core branch of tip: Commit-ID: df9165ab5254acb2035919c6e0511de799c1e8c1 Gitweb: https://git.kernel.org/tip/df9165ab5254acb2035919c6e0511de79= 9c1e8c1 Author: Lyude Paul AuthorDate: Fri, 07 Aug 2026 00:02:13 -07:00 Committer: Peter Zijlstra CommitterDate: Mon, 10 Aug 2026 12:53:10 +02:00 rust: sync: Use super::* in spinlock.rs No functional changes. Signed-off-by: Lyude Paul Signed-off-by: Boqun Feng Signed-off-by: Peter Zijlstra (Intel) Link: https://patch.msgid.link/20260807070218.27144-17-boqun@kernel.org --- rust/kernel/sync/lock/spinlock.rs | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/rust/kernel/sync/lock/spinlock.rs b/rust/kernel/sync/lock/spin= lock.rs index ef76fa0..d75af32 100644 --- a/rust/kernel/sync/lock/spinlock.rs +++ b/rust/kernel/sync/lock/spinlock.rs @@ -3,6 +3,7 @@ //! A kernel spinlock. //! //! This module allows Rust code to use the kernel's `spinlock_t`. +use super::*; =20 /// Creates a [`SpinLock`] initialiser with the given name and a newly-cre= ated lock class. /// @@ -82,7 +83,7 @@ pub use new_spinlock; /// ``` /// /// [`spinlock_t`]: srctree/include/linux/spinlock.h -pub type SpinLock =3D super::Lock; +pub type SpinLock =3D Lock; =20 /// A kernel `spinlock_t` lock backend. pub struct SpinLockBackend; @@ -91,13 +92,11 @@ pub struct SpinLockBackend; /// /// This is simply a type alias for a [`Guard`] returned from locking a [`= SpinLock`]. It will unlock /// the [`SpinLock`] upon being dropped. -/// -/// [`Guard`]: super::Guard -pub type SpinLockGuard<'a, T> =3D super::Guard<'a, T, SpinLockBackend>; +pub type SpinLockGuard<'a, T> =3D Guard<'a, T, SpinLockBackend>; =20 // SAFETY: The underlying kernel `spinlock_t` object ensures mutual exclus= ion. `relock` uses the // default implementation that always calls the same locking method. -unsafe impl super::Backend for SpinLockBackend { +unsafe impl Backend for SpinLockBackend { type State =3D bindings::spinlock_t; type GuardState =3D (); =20