Re: [PATCH linux-next v2] RDMA: simplify if-if to if-else
From: Jason Gunthorpe
Date: Mon Apr 04 2022 - 09:56:16 EST
On Thu, Mar 31, 2022 at 09:05:25PM +0800, Guo Zhengkui wrote:
> @@ -632,7 +632,7 @@ static int handle_join_req(struct mcast_group *group, u8 join_mask,
> kfree(req);
> ref = 1;
> group->state = group->prev_state;
> - } else
> + } else {
> group->state = MCAST_JOIN_SENT;
> }
This doesn't compile.
Jason