search for: rtrs_clt_sess

Displaying 1 result from an estimated 1 matches for "rtrs_clt_sess".

2020 Sep 09
17
[trivial PATCH] treewide: Convert switch/case fallthrough; to break;
...EL_82801AA_3: diff --git a/drivers/infiniband/ulp/rtrs/rtrs-clt.c b/drivers/infiniband/ulp/rtrs/rtrs-clt.c index 776e89231c52..55339cad408a 100644 --- a/drivers/infiniband/ulp/rtrs/rtrs-clt.c +++ b/drivers/infiniband/ulp/rtrs/rtrs-clt.c @@ -209,7 +209,7 @@ static bool __rtrs_clt_change_state(struct rtrs_clt_sess *sess, switch (old_state) { case RTRS_CLT_RECONNECTING: changed = true; - fallthrough; + break; default: break; } @@ -220,7 +220,7 @@ static bool __rtrs_clt_change_state(struct rtrs_clt_sess *sess, case RTRS_CLT_CONNECTING_ERR: case RTRS_CLT_CLOSED: changed = true;...