diff options
author | Alaa Mohamed <eng.alaamohamedsoliman.am@gmail.com> | 2022-05-20 03:36:14 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-05-21 03:38:27 +0300 |
commit | c2e10f53455c898050738d6a5f8c237f27aec225 (patch) | |
tree | 26aa45960410f8f62159af47a8c319c433cc829f /drivers/net/vxlan | |
parent | dbb2f362c7835660a4e39eadd7481563e2e176b7 (diff) | |
download | linux-c2e10f53455c898050738d6a5f8c237f27aec225.tar.xz |
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 <eng.alaamohamedsoliman.am@gmail.com>
Link: https://lore.kernel.org/r/20220520003614.6073-1-eng.alaamohamedsoliman.am@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/vxlan')
-rw-r--r-- | drivers/net/vxlan/vxlan_core.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/drivers/net/vxlan/vxlan_core.c b/drivers/net/vxlan/vxlan_core.c index 293082c32a78..265d4a0245e7 100644 --- a/drivers/net/vxlan/vxlan_core.c +++ b/drivers/net/vxlan/vxlan_core.c @@ -1135,12 +1135,11 @@ 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"); - return -EINVAL; - } + 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; + } if (tb[NDA_DST]) { err = vxlan_nla_get_addr(ip, tb[NDA_DST]); @@ -1297,7 +1296,7 @@ out: static int vxlan_fdb_delete(struct ndmsg *ndm, struct nlattr *tb[], struct net_device *dev, const unsigned char *addr, u16 vid, - struct netlink_ext_ack *extack) + struct netlink_ext_ack *extack) { struct vxlan_dev *vxlan = netdev_priv(dev); union vxlan_addr ip; |