Re: [PATCH 04/16] HID: wiimote: Add extension support stub

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

 



On Mon, Nov 14, 2011 at 12:35 PM, Oliver Neukum <oneukum@xxxxxxx> wrote:
> Am Montag, 14. November 2011, 12:26:28 schrieb David Herrmann:
>> I also know that wdata lives longer than wdata->ext so I cannot find
>> any race condition here. I have checked all four entry points of the
>> extension-module and they all seem fine here.
>>
>> As long as wdata->ext is non-NULL, wiiext_schedule may be called. So I
>> first need to clear wdata->ext before I kill the worker. Otherwise the
>> worker may be respawned before I reset wdata->ext ;)
>
> Hi,
>
> thank you for the detailed explanation. Could you include a comment
> to explain the unusual order things are done in this function?

Sure. I'll resend the patches in few days if nothing else comes up.

>
>        Regards
>                Oliver

Regards
David
--
To unsubscribe from this list: send the line "unsubscribe linux-input" 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 Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux