projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.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
|
blame
|
history
diff --git
a/arch/powerpc/kernel/ibmebus.c
b/arch/powerpc/kernel/ibmebus.c
index 7697d5b8296e5c51a4eb86bc1f9319eeefdcd50d..53bf64623bd891ce909f3cd177ab7a2e5df14c77 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;
}