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 19D0F30F804; Wed, 29 Oct 2025 18:10:33 +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=1761761434; cv=none; b=Uy4HwYdeSfY4mnjlAbnwHD7Ws2HHeFtJzEDOnjf7wSzwLqr4UMgJG77EuUkYkQaR/juX5Bub4oOSxMuEvN5NwHqrZK+HBlGSZcKzcGvigqzH3YIqytlFLFhKl3///VKuZ6AWEFxesAU36xWoII22gBGHXCyvHg4lXrGK9z/wezM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761761434; c=relaxed/simple; bh=74+OE1xL32AvuQq0dCzthnLOebJGx9aO7I8+OqhTme8=; h=Mime-Version:Content-Type:Date:Message-Id:Subject:Cc:To:From: References:In-Reply-To; b=SHci+uf1LdHZI9mIewMNgU0phuzxkuut1oyHSw3TFXSTw3vFsx+AfH8W8eGU8wjceioFt5jHeeniavSEJ5s9n8O2XfLbA5QxmV5AQSMam5pQJqDJ5ZjJsFR+YLxZ9kzBaxGkJ3VxqvFi5w7q6ecI5oQ3MIKYagECvNzE6xeiIF8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=l0pR2af2; 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="l0pR2af2" Received: by smtp.kernel.org (Postfix) with ESMTPSA id BC30EC4CEF7; Wed, 29 Oct 2025 18:10:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1761761433; bh=74+OE1xL32AvuQq0dCzthnLOebJGx9aO7I8+OqhTme8=; h=Date:Subject:Cc:To:From:References:In-Reply-To:From; b=l0pR2af2+eTNjUNeK/+V70j4UcNIyzTxBB6UzatnxTQxP3m5FLTvcRUwFT7Ctg9Fu CwWeH1YHUai8aC6GF76VT1dC1l3ZiY1FC7C5dXvcUjivP4xkb7GiCyRRDjRGyVkpEk 4IGn8beCrZuxOoCoQI2zVR8+QvGqQrcM753kMIEwgyEJ12pECqu9QK/r6+JyPrGQhb U6xGVGE3PVLYoh/SaJHTT+CLU7opohH4jvtoUR0vU5+PNcoZpLF/AEQAMrqzqKjuc3 nRa//LA4UsHIWZFwgx2iprmGnuUZfItHocV5Lse9k+ioEJRj/wXy7LglfgBLdSbMnf Moieps/F1a+cw== Precedence: bulk X-Mailing-List: rust-for-linux@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: Wed, 29 Oct 2025 19:10:27 +0100 Message-Id: Subject: Re: [PATCH 0/8] Device::drvdata() and driver/driver interaction (auxiliary) Cc: , , To: , , , , , , , , , , , , , , , , , From: "Danilo Krummrich" References: <20251020223516.241050-1-dakr@kernel.org> In-Reply-To: <20251020223516.241050-1-dakr@kernel.org> On Tue Oct 21, 2025 at 12:34 AM CEST, Danilo Krummrich wrote: Applied to driver-core-testing, thanks! > Danilo Krummrich (8): > rust: device: narrow the generic of drvdata_obtain() > rust: device: introduce Device::drvdata() [ * Remove unnecessary `const _: ()` block, * rename type_id_{store,match}() to {set,match}_type_id(), * assert size_of::() >=3D size_of::(), * add missing check in case Device::drvdata() is called from probe(). - Danilo ] > rust: auxiliary: consider auxiliary devices always have a parent > rust: auxiliary: unregister on parent device unbind > rust: auxiliary: move parent() to impl Device > rust: auxiliary: implement parent() for Device > samples: rust: auxiliary: misc cleanup of ParentDriver::connect() > samples: rust: auxiliary: illustrate driver interaction