[PATCH v17 01/12] power: reset: reboot-mode: Remove devres based allocations
Shivendra Pratap
shivendra.pratap at oss.qualcomm.com
Mon Nov 10 05:17:01 PST 2025
On 11/10/2025 6:40 PM, Bartosz Golaszewski wrote:
> You're making it sound as if there's some race condition going on.
> That's not the reason. They should be avoided in subsystem code
> because you have no guarantee that the function will be called after
> the driver is attached to the device nor that it will not be
> referenced after the managed resources were released after a driver
> detach. It's about life-times not synchronization.
sure. Will correct the language and make it more clear in the commit
message.
thanks,
Shivendra
More information about the linux-arm-kernel
mailing list