Re: [PATCH v3 2/4] serdev: add rust private data to serdev_device

From: Greg Kroah-Hartman

Date: Sat Mar 14 2026 - 04:07:37 EST


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