Summary: warnings on hcd rmmod:  "dangling refs(N) to bus B"
    Kernel Version: 2.5.66
            Status: NEW
          Severity: low
             Owner: greg@kroah.com
         Submitter: dbrownell@users.sourceforge.net
The bus refcounting mechanism is broken, it often produces  warning messages like that one when modules are removed.    The problem appears to be an extremely long-standing one,  at least in terms of the how-to-reproduce I saw:     - connect a device that won't immediately enumerate,     so that setting its address needs to be retried (or     similar error, like set_configuration failing)     - unplug that device ... at this point the refcount     is wrong, but you can't tell until     - rmmod the relevant HCD.    This particular cause of that message is because the bus  refcount isn't released on error.  The fix isn't as  straightforward as it should be because of funky calling  conventions ("longstanding", likely since 2.4), but it's  not
complicated either.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/