Commit c2e10f53 authored by Alaa Mohamed's avatar Alaa Mohamed Committed by Jakub Kicinski
Browse files

net: vxlan: Fix kernel coding style



The continuation line does not align with the opening bracket
and this patch fix it.

Signed-off-by: default avatarAlaa Mohamed <eng.alaamohamedsoliman.am@gmail.com>
Link: https://lore.kernel.org/r/20220520003614.6073-1-eng.alaamohamedsoliman.am@gmail.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent dbb2f362
Loading
Loading
Loading
Loading
+6 −7
Original line number Diff line number Diff line
@@ -1135,10 +1135,9 @@ static int vxlan_fdb_parse(struct nlattr *tb[], struct vxlan_dev *vxlan,
	struct net *net = dev_net(vxlan->dev);
	int err;

	if (tb[NDA_NH_ID] && (tb[NDA_DST] || tb[NDA_VNI] || tb[NDA_IFINDEX] ||
	    tb[NDA_PORT])) {
			NL_SET_ERR_MSG(extack,
						  "DST, VNI, ifindex and port are mutually exclusive with NH_ID");
	if (tb[NDA_NH_ID] &&
	    (tb[NDA_DST] || tb[NDA_VNI] || tb[NDA_IFINDEX] || tb[NDA_PORT])) {
		NL_SET_ERR_MSG(extack, "DST, VNI, ifindex and port are mutually exclusive with NH_ID");
		return -EINVAL;
	}