Commit 74c9b99d authored by Joachim Fenkes's avatar Joachim Fenkes Committed by Paul Mackerras

[POWERPC] ibmebus: More descriptive error return code in ibmebus_store_probe()

Signed-off-by: default avatarJoachim Fenkes <fenkes@de.ibm.com>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent 4acb8896
...@@ -400,7 +400,7 @@ static ssize_t ibmebus_store_probe(struct bus_type *bus, ...@@ -400,7 +400,7 @@ static ssize_t ibmebus_store_probe(struct bus_type *bus,
ibmebus_match_path)) { ibmebus_match_path)) {
printk(KERN_WARNING "%s: %s has already been probed\n", printk(KERN_WARNING "%s: %s has already been probed\n",
__FUNCTION__, path); __FUNCTION__, path);
rc = -EINVAL; rc = -EEXIST;
goto out; goto out;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment