[PATCH v4 0/3] i3c: Introduce i3c device userspace interface
Wolfram Sang
wsa+renesas at sang-engineering.com
Tue Sep 8 04:48:10 PDT 2026
> - Fixed device lifecycle and concurrency:
> * Switched to cdev_device_add() and cdev_device_del() with an embedded
> struct device and a release callback, preventing use-after-free and
> races on driver unbind/detach (incorporating fix from Oleksandr
> Shulzhenko).
> * Cleared i3cdev->i3c under xfer_lock on detach so concurrent/subsequent
> file operations safely return -ENODEV.
I haven't looked at the code (and won't have the time to do so), but if
the above paragraph had not been present, I would have nacked the series
right away. To say it positive: Kudos for working on these issues!
More information about the linux-i3c
mailing list