Am Mittwoch, 17. Oktober 2001 02:39 schrieb David Nelson:
> Hi All,
>
> Attached are patches for both the Linus and Alan trees.  This should
> bring both trees into sync with my version.
>
> Please see scanner.c's Changelog for version 0.4.6 for updates/changes.
> Hopefully the SMP stuff is taken care of.
>
> Let me know if you have any questions/comments.

In your open() method you do MOD_INC_USE_COUNT last.
This is bad. Your module may be unloaded while you sleep on down() before.
You must use MOD_INC_USE_COUNT before the first down() and decrement it in 
the error case.

        Regards
                Oliver

_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to