aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/infiniband/hw/ipath/ipath_verbs_mcast.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/ipath/ipath_verbs_mcast.c b/drivers/infiniband/hw/ipath/ipath_verbs_mcast.c
index a97548ee6a97..996bbb05c396 100644
--- a/drivers/infiniband/hw/ipath/ipath_verbs_mcast.c
+++ b/drivers/infiniband/hw/ipath/ipath_verbs_mcast.c
@@ -273,7 +273,7 @@ int ipath_multicast_detach(struct ib_qp *ibqp, union ib_gid *gid, u16 lid)
273 while (1) { 273 while (1) {
274 if (n == NULL) { 274 if (n == NULL) {
275 spin_unlock_irqrestore(&mcast_lock, flags); 275 spin_unlock_irqrestore(&mcast_lock, flags);
276 ret = 0; 276 ret = -EINVAL;
277 goto bail; 277 goto bail;
278 } 278 }
279 279