diff options
author | Joachim Fenkes <fenkes@de.ibm.com> | 2007-09-26 05:46:34 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-10-02 23:25:28 -0400 |
commit | 74c9b99d4dcadd144fab7326c99d0ffb1de19245 (patch) | |
tree | 8e8f8d4e8131cb7a1041b016780988f18e770c2c /arch/powerpc | |
parent | 4acb889627412cbab6b4b44593efe232f5028eb2 (diff) |
[POWERPC] ibmebus: More descriptive error return code in ibmebus_store_probe()
Signed-off-by: Joachim Fenkes <fenkes@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/kernel/ibmebus.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/ibmebus.c b/arch/powerpc/kernel/ibmebus.c index 7697d5b8296e..53bf64623bd8 100644 --- a/arch/powerpc/kernel/ibmebus.c +++ b/arch/powerpc/kernel/ibmebus.c | |||
@@ -397,10 +397,10 @@ static ssize_t ibmebus_store_probe(struct bus_type *bus, | |||
397 | return -ENOMEM; | 397 | return -ENOMEM; |
398 | 398 | ||
399 | if (bus_find_device(&ibmebus_bus_type, NULL, path, | 399 | if (bus_find_device(&ibmebus_bus_type, NULL, path, |
400 | ibmebus_match_path)) { | 400 | ibmebus_match_path)) { |
401 | printk(KERN_WARNING "%s: %s has already been probed\n", | 401 | printk(KERN_WARNING "%s: %s has already been probed\n", |
402 | __FUNCTION__, path); | 402 | __FUNCTION__, path); |
403 | rc = -EINVAL; | 403 | rc = -EEXIST; |
404 | goto out; | 404 | goto out; |
405 | } | 405 | } |
406 | 406 | ||