driver core: Don't stop probing on ->probe errors.
authorCornelia Huck <cornelia.huck@de.ibm.com>
Mon, 27 Nov 2006 09:35:10 +0000 (10:35 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 7 Feb 2007 18:37:12 +0000 (10:37 -0800)
commitc578abbc20762aa58e390e55252959853eeea17e
treee8870796fae1541b7c7978d85d0ac486cd9842db
parentfbfb14455391b89edcf37327526988dea7849532
driver core: Don't stop probing on ->probe errors.

Don't stop on the first ->probe error that is not -ENODEV/-ENXIO.

There might be a driver registered returning an unresonable return code, and
this stops probing completely even though it may make sense to try the next
possible driver. At worst, we may end up with an unbound device.

Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/dd.c