summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/sw/siw
diff options
context:
space:
mode:
authorJason Gunthorpe <jgg@mellanox.com>2020-03-04 13:11:06 -0400
committerJason Gunthorpe <jgg@mellanox.com>2020-03-04 13:11:06 -0400
commitc13cac2a21b44c6d18a2cf5485f26eee0fb686f6 (patch)
tree1cf120a57dbbc95a2d450f1c2047e89b9f917596 /drivers/infiniband/sw/siw
parentbb8865f435d81223596f1abd6dec0b12ed122af0 (diff)
parent98d54f81e36ba3bf92172791eba5ca5bd813989b (diff)
downloadlinux-c13cac2a21b44c6d18a2cf5485f26eee0fb686f6.tar.bz2
Merge tag 'v5.6-rc4' into rdma.git for-next
Required due to dependencies in following patches. Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/sw/siw')
-rw-r--r--drivers/infiniband/sw/siw/siw_cm.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/infiniband/sw/siw/siw_cm.c b/drivers/infiniband/sw/siw/siw_cm.c
index 0c3f0588346e..c5651a96b196 100644
--- a/drivers/infiniband/sw/siw/siw_cm.c
+++ b/drivers/infiniband/sw/siw/siw_cm.c
@@ -1225,10 +1225,9 @@ static void siw_cm_llp_data_ready(struct sock *sk)
read_lock(&sk->sk_callback_lock);
cep = sk_to_cep(sk);
- if (!cep) {
- WARN_ON(1);
+ if (!cep)
goto out;
- }
+
siw_dbg_cep(cep, "state: %d\n", cep->state);
switch (cep->state) {