> I'm all for correctness, but you've made everything complicated along
> the way.

So what's complicated?  Seems simple to me.

    Device refcount is N
        driver probe()
        ... use the device a lot
        driver disconnect ()
    Device refcount is back to N

If the count isn't N then, or drops below N at any time before that
disconnect(), it's clearly a bug.

The only change was reporting some such bugs ASAP (N=1),
preventing them from causing really hard-to-fix failure modes.

- Dave


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

Reply via email to