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 861792DCBE3; Tue, 3 Feb 2026 16:15:50 +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=1770135350; cv=none; b=OrvsmT3Mb6dodrLrDsqZVzziNp81IUk72zqOILS8rAGftyrub/XZQL7IeLRFZPOts95UqrtpCQcLXlUMmx1GGcAm+lNxOxjYYhASWMcn8R5j9Aj1TLL+sw18qh+tKBJ3kw7dn6eb0bROTmTdkiSU2+NGgBagR19emureCL8Dw8Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770135350; c=relaxed/simple; bh=fuZTQUH+E/78sks20xJ2HF7aFknTSvUQsFwJrThJ3gc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=havRIm7ICFYZMrgoQWo0qDGjKBneeJ1DHBuX/AAdnIujPV4ZF7l+120AtzWVHK1Yn8efHEg/ZZ669XXmWgtM/0Wqnegk3vvPWd+p8+I5TUyJ+C2aQa/NQRR7rAqFuMQBphNNFA68METbDeQJ0jdPhDkIQRgDihaDCi+5AW8p6m8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=QrFnAl22; 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="QrFnAl22" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9B790C116D0; Tue, 3 Feb 2026 16:15:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1770135350; bh=fuZTQUH+E/78sks20xJ2HF7aFknTSvUQsFwJrThJ3gc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=QrFnAl22X7lYs06a6hrCFhyaANXh43lqo8vktQBJ3h1n88G8BFDp75OmIxPeS80FM 86N9tHQ8o20QpJQdU8ggc9wWpanGeD99+dQF9ro4tJTKzfxgTIkgQeozXDfla2roxv d7PNmpOwrb/ip9ssPKXKdsmVXSVioEg7xBndPJLY= Date: Tue, 3 Feb 2026 17:15:47 +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: <2026020315-flop-wiry-f1be@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. Ok, but why? This says what it does, but I have no context as to why this would be needed. What driver wants to know this? thanks, greg k-h