From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 E9F01155757; Fri, 16 Jan 2026 00:23:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768523025; cv=none; b=llgCqkonW3ao8ogf1Oo+EwGwcbfj2dEshmaUYalgGteDJMUjj5dXFHW9WUILQGl5DmNVjbDBtpNk+onRiLdSWHzULcx2GBxn34bjWvYfwuJjFff2LtqQG3qZs3S6IjXPzyHrFlKGYIeOlkMPgYFyPcx+IJIITC5vfVS6n4LJQms= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768523025; c=relaxed/simple; bh=gRr6r85Dw9DNmNU3LbuuzoPVN962amU36uxrHqZxdOY=; h=Mime-Version:Content-Type:Date:Message-Id:Subject:Cc:To:From: References:In-Reply-To; b=ac5Qxs4/TnB+x3//gBzHmbNlBAVNXx08WsqUSDY+kLFIk41XkiWDN3Qjkr192cWM/+dRcEpCRjQprIXNeIVGv5l+A7v0WN3vHIuLSg1vUHTIJNmtu9Jl1L1CkTEgtMOuupXQWs9rzI1f2hPwY/4YmW8tAMSRz2nVG0kngdaNZoM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=VEK90QXs; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="VEK90QXs" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7F0EFC116D0; Fri, 16 Jan 2026 00:23:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1768523024; bh=gRr6r85Dw9DNmNU3LbuuzoPVN962amU36uxrHqZxdOY=; h=Date:Subject:Cc:To:From:References:In-Reply-To:From; b=VEK90QXsVwStggroWyCYy8XdGKFUHHY29zS8oNRAxJENn9j+ejZ4RlCE7hAnC8UoR oKgQ1Atuphj+b4YiaH1xpHALuyP4DF7W9hEgWLfaMDw/GQAYGGJTzx7VH061l2Z8Hd jLBTo/Wuaxz3KQDFPWLibZWKvK8YZR9flUMLnScmMSg2aZFRMNbc/daoWYywZOX4wc 3LWuw+UI+fmk+8GfkUHe8Fx23hHvB9cfsK/zDhOFnFfRGQSYk7JPaLPg0a+u9ON9K3 UUJ36nX9LE4F2dhxovyOP29Ayq9kF+LOd82L2za8nqC7A3bbOU4m6SMnFaJYsnDmC+ qpVlF8lSO9gcA== Precedence: bulk X-Mailing-List: linux-usb@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 Date: Fri, 16 Jan 2026 01:23:38 +0100 Message-Id: Subject: Re: [PATCH 0/6] Address race condition with Device::drvdata() Cc: , , , , To: , , , , , , , , , , , , , , , , From: "Danilo Krummrich" References: <20260107103511.570525-1-dakr@kernel.org> In-Reply-To: <20260107103511.570525-1-dakr@kernel.org> On Wed Jan 7, 2026 at 11:34 AM CET, Danilo Krummrich wrote: > Danilo Krummrich (6): > rust: i2c: do not drop device private data on shutdown() > rust: auxiliary: add Driver::unbind() callback > rust: driver: introduce a common Driver trait [ Rename driver::Driver to driver::DriverLayout, as it represents the layout of a driver structure rather than the driver structure itself. - Danilo ] > rust: driver: add DEVICE_DRIVER_OFFSET to the Driver trait > rust: driver: add DriverData type to the generic Driver trait > rust: driver: drop device private data post unbind [ Remove #ifdef CONFIG_RUST, rename post_unbind() to post_unbind_rust()= . - Danilo] Applied to driver-core-linus, thanks!