projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4acb889
)
[POWERPC] ibmebus: More descriptive error return code in ibmebus_store_probe()
author
Joachim Fenkes
<fenkes@de.ibm.com>
Wed, 26 Sep 2007 09:46:34 +0000
(19:46 +1000)
committer
Paul Mackerras
<paulus@samba.org>
Wed, 3 Oct 2007 03:25:28 +0000
(13:25 +1000)
Signed-off-by: Joachim Fenkes <fenkes@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/ibmebus.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/kernel/ibmebus.c
b/arch/powerpc/kernel/ibmebus.c
index
7697d5b
..
53bf646
100644
(file)
--- 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,
return -ENOMEM;
if (bus_find_device(&ibmebus_bus_type, NULL, path,
-
ibmebus_match_path)) {
+ ibmebus_match_path)) {
printk(KERN_WARNING "%s: %s has already been probed\n",
__FUNCTION__, path);
- rc = -E
INVAL
;
+ rc = -E
EXIST
;
goto out;
}