From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C1C08105F79E for ; Sat, 14 Mar 2026 08:07:25 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D126310E0D8; Sat, 14 Mar 2026 08:07:24 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (1024-bit key; unprotected) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="xJpp2KXn"; dkim-atps=neutral Received: from sea.source.kernel.org (sea.source.kernel.org [172.234.252.31]) by gabe.freedesktop.org (Postfix) with ESMTPS id 73B6510E0D8 for ; Sat, 14 Mar 2026 08:07:22 +0000 (UTC) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sea.source.kernel.org (Postfix) with ESMTP id DA593417A1; Sat, 14 Mar 2026 08:07:21 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 235FFC116C6; Sat, 14 Mar 2026 08:07:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1773475641; bh=Jr+5cgMiAUUNJAgyGN6yrMcokuqC5ucllxrv9NJuasw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=xJpp2KXnj/sdVFiitzlT96JIR7diILb3HDO33emQX3r4XSXWy7OSmTnsY/GcdaGLR XWMmda/+hJWUup1Qd+CBnDCu52jpILNx2OoCBrLJv9wNiHbI9sAwgfAu00t1oBKjKf iCblesinfCKHhCZTjWUcxI1ny6179S8OyiJ0odPA= Date: Sat, 14 Mar 2026 09:07:03 +0100 From: Greg Kroah-Hartman To: Markus Probst Cc: Rob Herring , Jiri Slaby , Miguel Ojeda , Gary Guo , =?iso-8859-1?Q?Bj=F6rn?= Roy Baron , Benno Lossin , Andreas Hindborg , Alice Ryhl , Trevor Gross , Danilo Krummrich , Kari Argillander , "Rafael J. Wysocki" , Viresh Kumar , Boqun Feng , David Airlie , Simona Vetter , linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, rust-for-linux@vger.kernel.org, linux-pm@vger.kernel.org, driver-core@lists.linux.dev, dri-devel@lists.freedesktop.org Subject: Re: [PATCH v3 2/4] serdev: add rust private data to serdev_device Message-ID: <2026031402-absence-graph-af5d@gregkh> References: <20260313-rust_serdev-v3-0-c9a3af214f7f@posteo.de> <20260313-rust_serdev-v3-2-c9a3af214f7f@posteo.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260313-rust_serdev-v3-2-c9a3af214f7f@posteo.de> X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Fri, Mar 13, 2026 at 06:12:31PM +0000, Markus Probst wrote: > Add rust private data to `struct serdev_device`, as it is required by the > rust abstraction added in the following commit > (rust: add basic serial device bus abstractions). why is rust "special" here? What's wrong with the existing private pointer in this structure? Why must we add another one? thanks, greg k-h