Skip to content

Commit c2e10f5

Browse files
EngAlaaSolimankuba-moo
authored andcommitted
net: vxlan: Fix kernel coding style
The continuation line does not align with the opening bracket and this patch fix it. Signed-off-by: Alaa Mohamed <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent dbb2f36 commit c2e10f5

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

drivers/net/vxlan/vxlan_core.c

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1135,12 +1135,11 @@ static int vxlan_fdb_parse(struct nlattr *tb[], struct vxlan_dev *vxlan,
11351135
struct net *net = dev_net(vxlan->dev);
11361136
int err;
11371137

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

11451144
if (tb[NDA_DST]) {
11461145
err = vxlan_nla_get_addr(ip, tb[NDA_DST]);
@@ -1297,7 +1296,7 @@ int __vxlan_fdb_delete(struct vxlan_dev *vxlan,
12971296
static int vxlan_fdb_delete(struct ndmsg *ndm, struct nlattr *tb[],
12981297
struct net_device *dev,
12991298
const unsigned char *addr, u16 vid,
1300-
struct netlink_ext_ack *extack)
1299+
struct netlink_ext_ack *extack)
13011300
{
13021301
struct vxlan_dev *vxlan = netdev_priv(dev);
13031302
union vxlan_addr ip;

0 commit comments

Comments
 (0)