Re: [PATCH] usb: gadget: f_mass_storage: stop thread in bind failure case

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 6/4/2015 5:15 PM, Michal Nazarewicz wrote:
On Thu, Jun 04 2015, Sanjay Singh Rawat wrote:
After the worker thread is launched, bind function is doing further
configuration. Stop the thread in case of failure. Also use
kthread_run to encapsulate thread creation and launch.
Sounds like two separate patches to me.  Or perhaps better thing to do
would be to create the thread and postpone it being run till the end of
fsg_bind?

ack, thanks for the review Michal.
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux