[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200709261146.35466.fenkes@de.ibm.com>
Date: Wed, 26 Sep 2007 11:46:34 +0200
From: Joachim Fenkes <fenkes@...ibm.com>
To: Paul Mackerras <paulus@...ba.org>,
"LinuxPPC-Dev" <linuxppc-dev@...abs.org>,
LKML <linux-kernel@...r.kernel.org>,
Arnd Bergmann <arnd@...db.de>
Cc: Christoph Raisch <raisch@...ibm.com>,
"Hoang-Nam Nguyen" <hnguyen@...ibm.com>,
"Jan-Bernd Themann" <themann@...ibm.com>,
Stefan Roscher <stefan.roscher@...ibm.com>,
Thomas Klein <tklein@...ibm.com>,
Paul Mackerras <pmac@....ibm.com>
Subject: [PATCH 5/5] ibmebus: More speaking error return code in ibmebus_store_probe()
Signed-off-by: Joachim Fenkes <fenkes@...ibm.com>
---
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 c1e2963..0bd186c 100644
--- a/arch/powerpc/kernel/ibmebus.c
+++ b/arch/powerpc/kernel/ibmebus.c
@@ -268,10 +268,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 = -EINVAL;
+ rc = -EEXIST;
goto out;
}
--
1.5.2
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists