Re: [PATCH 0/6] Address race condition with Device::drvdata()
From: Danilo Krummrich
Date: Thu Jan 15 2026 - 19:23:44 EST
On Wed Jan 7, 2026 at 11:34 AM CET, Danilo Krummrich wrote:
> Danilo Krummrich (6):
> rust: i2c: do not drop device private data on shutdown()
> rust: auxiliary: add Driver::unbind() callback
> rust: driver: introduce a common Driver trait
[ Rename driver::Driver to driver::DriverLayout, as it represents the
layout of a driver structure rather than the driver structure itself.
- Danilo ]
> rust: driver: add DEVICE_DRIVER_OFFSET to the Driver trait
> rust: driver: add DriverData type to the generic Driver trait
> rust: driver: drop device private data post unbind
[ Remove #ifdef CONFIG_RUST, rename post_unbind() to post_unbind_rust().
- Danilo]
Applied to driver-core-linus, thanks!