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 5E62E22B594; Tue, 3 Feb 2026 16:17:32 +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=1770135452; cv=none; b=OIi4aVmn7zoIlkXzJjEOBPyZMPbmYNIANTDBOVl1yLA4rBlm27TaIQKwGWi9cxR6gVRRng6xkJlMou6fYcXgSo4CDkzXGBCT+WtMXoMUkmrLiw7r6XO4nu6/OsvOdQjb96TVbMaxMqoITpZRHFr3O2RCBdRi5CEvuwqjzR/P5Zk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770135452; c=relaxed/simple; bh=Y5GCQ53SPa0Arre4QKWM7rqqfYEk92SpOKdkmzkB/sA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=cf6up5o0mEkwXqWTMc66R0GWuoZtdWMWDY+focy6EEuJTOMPWfLEZVYRicCQEgtQ06UxkyV02S2Cv3xpzTKSq6qnaVdT4SXeTwgl0Ma8SZENSIAgy5n05lCg0k58lPoLbiVShFcyUuueUE0THvUFkRWckks6YbJzSdTgGWC/bQQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=K7PxGaVp; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="K7PxGaVp" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 47725C116D0; Tue, 3 Feb 2026 16:17:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1770135451; bh=Y5GCQ53SPa0Arre4QKWM7rqqfYEk92SpOKdkmzkB/sA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=K7PxGaVpkAZn7aly4ZMsjZhSYTnF4SyjU8VoRi2Vhbpg881m+qfI1FT4LJo8z9XiC D44AcpGlVQa/p93cPsgwNmjTs5KKQuUdWvGW9iSA8uxUDz5/0huFWLGZ6OjELXvkoa NEG4D3mW7+IFrkRCQpGqDfd7X5vWtHVHaGpPnzAc= Date: Tue, 3 Feb 2026 17:17:28 +0100 From: Greg Kroah-Hartman To: Matthew Maurer Cc: Bjorn Andersson , Konrad Dybcio , Satya Durga Srinivasu Prabhala , Miguel Ojeda , Boqun Feng , Gary Guo , =?iso-8859-1?Q?Bj=F6rn?= Roy Baron , Benno Lossin , Andreas Hindborg , Alice Ryhl , Trevor Gross , Danilo Krummrich , Daniel Almeida , "Rafael J. Wysocki" , David Airlie , Simona Vetter , Michal Wilczynski , Dave Ertman , Ira Weiny , Leon Romanovsky , Trilok Soni , linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, rust-for-linux@vger.kernel.org, driver-core@lists.linux.dev, dri-devel@lists.freedesktop.org, linux-pwm@vger.kernel.org Subject: Re: [PATCH v2 3/6] rust: device: Support testing devices for equality Message-ID: <2026020338-gratitude-overplay-98b0@gregkh> References: <20260203-qcom-socinfo-v2-0-d6719db85637@google.com> <20260203-qcom-socinfo-v2-3-d6719db85637@google.com> Precedence: bulk X-Mailing-List: linux-pwm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260203-qcom-socinfo-v2-3-d6719db85637@google.com> On Tue, Feb 03, 2026 at 03:46:32PM +0000, Matthew Maurer wrote: > This allows device drivers to check if, for example, an auxiliary > devices is one of its children by comparing the parent field, or > checking if a device parameter is its own device. > > Also convert existing `.as_raw() != .as_raw()` to use this new > implementation. Ah, ok, I can see how getting rid of the as_raw() calls here is a "good thing", but overall it's just the same code paths :) And I don't see what patch in this series uses this, am I missing it? thanks, greg k-h