]> git.hungrycats.org Git - linux/commit
[PATCH] USB: usb_new_device() updates
authorDavid Brownell <david-b@pacbell.net>
Wed, 6 Aug 2003 08:51:29 +0000 (01:51 -0700)
committerGreg Kroah-Hartman <greg@kroah.com>
Wed, 6 Aug 2003 08:51:29 +0000 (01:51 -0700)
commit4a110609c2664e6d6bade17cf17ddc680f29f6de
tree037b373f6a08f2920c7c8785c6e44e303385d31a
parentcc1374a250947c03d664b98cd38c1fb591628b0b
[PATCH] USB: usb_new_device() updates

Changes a handful of things in enumeration error paths.

Bugfixes:
  - consistent cleanup, and consistent return of -Ewhatever/0;
  - a usb_put_dev() gets rid of the extra refcount; this
    one's in bugzilla at osdl.

Diagnostics:
  - new diagnostic for when there's a choice of configurations;
  - merges some diagnostics, for slight rodata reduction.
drivers/usb/core/usb.c