Re: [PATCH v8 3/5] rust: add basic serial device bus abstractions
From: Danilo Krummrich
Date: Sat May 30 2026 - 10:38:59 EST
On Sat May 30, 2026 at 4:27 PM CEST, Markus Probst wrote:
> This would work, but I don't see how it would get rid of rust_private_data in
> this way. The device private data will but the private bus abstraction data
> needs to outlive the devres callbacks (which is done by rust_private_data).
Why? You only ever use it in the receive callback, which won't be called after
device unbind anymore.