Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 42054569 authored by Weilong Chen's avatar Weilong Chen Committed by Steffen Klassert
Browse files

xfrm: fix checkpatch error



Fix that "else should follow close brace '}'".

Signed-off-by: default avatarWeilong Chen <chenweilong@huawei.com>
Signed-off-by: default avatarSteffen Klassert <steffen.klassert@secunet.com>
parent 02d0892f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1316,9 +1316,9 @@ xfrm_tmpl_resolve_one(struct xfrm_policy *policy, const struct flowi *fl,
			error = (x->km.state == XFRM_STATE_ERROR ?
				 -EINVAL : -EAGAIN);
			xfrm_state_put(x);
		}
		else if (error == -ESRCH)
		} else if (error == -ESRCH) {
			error = -EAGAIN;
		}

		if (!tmpl->optional)
			goto fail;