Skip to content

Commit

Permalink
[POWERPC] ibmebus: More descriptive error return code in ibmebus_stor…
Browse files Browse the repository at this point in the history
…e_probe()

Signed-off-by: Joachim Fenkes <fenkes@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
  • Loading branch information
Joachim Fenkes authored and Paul Mackerras committed Oct 3, 2007
1 parent 4acb889 commit 74c9b99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/powerpc/kernel/ibmebus.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 = -EINVAL;
rc = -EEXIST;
goto out;
}

Expand Down

0 comments on commit 74c9b99

Please sign in to comment.