mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-25 05:34:00 +08:00
[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>
This commit is contained in:
parent
4acb889627
commit
74c9b99d4d
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user