Re: [RESEND PATCH] Revert "i3c master: fix missing destroy_workqueue() on error in i3c_master_register"
From: Alexandre Belloni
Date: Sat Apr 24 2021 - 16:27:32 EST
On Thu, 8 Apr 2021 10:28:03 -0700, Jae Hyun Yoo wrote:
> Adding the destroy_workqueue call in i3c_master_register introduced below
> kernel warning because it makes duplicate destroy_workqueue calls when
> i3c_master_register fails after allocating the workqueue. The workqueue will
> be destroyed by i3c_masterdev_release which is called by put_device at the
> end of the i3c_master_register function eventually in failure cases so the
> workqueue doesn't need to be destroyed in i3c_master_register.
>
> [...]
Applied, thanks!
[1/1] Revert "i3c master: fix missing destroy_workqueue() on error in i3c_master_register"
commit: 0d95f41ebde40d552bb4fea64b1d618607915fd6
Best regards,
--
Alexandre Belloni <alexandre.belloni@xxxxxxxxxxx>