Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 46616
b: refs/heads/master
c: c578abb
h: refs/heads/master
v: v3
  • Loading branch information
Cornelia Huck authored and Greg Kroah-Hartman committed Feb 7, 2007
1 parent 28236af commit 8ba3b51
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fbfb14455391b89edcf37327526988dea7849532
refs/heads/master: c578abbc20762aa58e390e55252959853eeea17e
13 changes: 6 additions & 7 deletions trunk/drivers/base/dd.c
Original file line number Diff line number Diff line change
Expand Up @@ -136,18 +136,17 @@ static int really_probe(void *void_data)
driver_sysfs_remove(dev);
dev->driver = NULL;

if (ret == -ENODEV || ret == -ENXIO) {
/* Driver matched, but didn't support device
* or device not found.
* Not an error; keep going.
*/
ret = 0;
} else {
if (ret != -ENODEV && ret != -ENXIO) {
/* driver matched but the probe failed */
printk(KERN_WARNING
"%s: probe of %s failed with error %d\n",
drv->name, dev->bus_id, ret);
}
/*
* Ignore errors returned by ->probe so that the next driver can try
* its luck.
*/
ret = 0;
done:
kfree(data);
atomic_dec(&probe_count);
Expand Down

0 comments on commit 8ba3b51

Please sign in to comment.