[GIT PATCH] 2 small Driver core fixes for 2.6.12-git

From: Greg KH
Date: Thu Jun 23 2005 - 01:14:09 EST

Here's two patches that fixes some oopses with the USB code due to a
change in the driver core (could also cause problems with other
subsystems, just happened to notice it in the USB code.) Many thanks to
Stelian Pop for noticing this and figuring out the fix for it.

Please pull from:
or if master.kernel.org hasn't synced up yet:


greg k-h

drivers/base/bus.c | 5 ++---
drivers/usb/input/hid-core.c | 4 ++--
2 files changed, 4 insertions(+), 5 deletions(-)


Greg Kroah-Hartman:
driver core: Fix up the device_attach() error handling in bus_add_device()

Stelian Pop:
USB: fix hid core to return proper error code from probe

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/