git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
IB/ipath: Don't reset disabled devices
[pandora-kernel.git]
/
drivers
/
infiniband
/
hw
/
ipath
/
ipath_sysfs.c
diff --git
a/drivers/infiniband/hw/ipath/ipath_sysfs.c
b/drivers/infiniband/hw/ipath/ipath_sysfs.c
index
b8cb2f1
..
8991677
100644
(file)
--- a/
drivers/infiniband/hw/ipath/ipath_sysfs.c
+++ b/
drivers/infiniband/hw/ipath/ipath_sysfs.c
@@
-557,6
+557,7
@@
static ssize_t store_reset(struct device *dev,
dev_info(dev,"Unit %d is disabled, can't reset\n",
dd->ipath_unit);
ret = -EINVAL;
+ goto bail;
}
ret = ipath_reset_device(dd->ipath_unit);
bail: