[PATCH v4 08/10] thermal: imx: Use scope-based cleanup helper
Zihuan Zhang
zhangzihuan at kylinos.cn
Fri Sep 5 20:21:06 AEST 2025
在 2025/9/5 18:05, Jonathan Cameron 写道:
> This radically changes the lifetime of the reference to policy.
> If that is valid, then I'd expect a lot more description of why!
Thanks for your comment.
Initially I thought policy was only used within this function, so I
moved it here.
After your feedback, I realize that this change might affect the
reference lifetime in ways I didn’t fully consider. I need to review it
further to ensure it’s safe.
More information about the Linuxppc-dev
mailing list