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

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.comSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent dbb2f362
...@@ -1135,12 +1135,11 @@ static int vxlan_fdb_parse(struct nlattr *tb[], struct vxlan_dev *vxlan, ...@@ -1135,12 +1135,11 @@ static int vxlan_fdb_parse(struct nlattr *tb[], struct vxlan_dev *vxlan,
struct net *net = dev_net(vxlan->dev); struct net *net = dev_net(vxlan->dev);
int err; int err;
if (tb[NDA_NH_ID] && (tb[NDA_DST] || tb[NDA_VNI] || tb[NDA_IFINDEX] || if (tb[NDA_NH_ID] &&
tb[NDA_PORT])) { (tb[NDA_DST] || tb[NDA_VNI] || tb[NDA_IFINDEX] || tb[NDA_PORT])) {
NL_SET_ERR_MSG(extack, NL_SET_ERR_MSG(extack, "DST, VNI, ifindex and port are mutually exclusive with NH_ID");
"DST, VNI, ifindex and port are mutually exclusive with NH_ID"); return -EINVAL;
return -EINVAL; }
}
if (tb[NDA_DST]) { if (tb[NDA_DST]) {
err = vxlan_nla_get_addr(ip, tb[NDA_DST]); err = vxlan_nla_get_addr(ip, tb[NDA_DST]);
...@@ -1297,7 +1296,7 @@ int __vxlan_fdb_delete(struct vxlan_dev *vxlan, ...@@ -1297,7 +1296,7 @@ int __vxlan_fdb_delete(struct vxlan_dev *vxlan,
static int vxlan_fdb_delete(struct ndmsg *ndm, struct nlattr *tb[], static int vxlan_fdb_delete(struct ndmsg *ndm, struct nlattr *tb[],
struct net_device *dev, struct net_device *dev,
const unsigned char *addr, u16 vid, const unsigned char *addr, u16 vid,
struct netlink_ext_ack *extack) struct netlink_ext_ack *extack)
{ {
struct vxlan_dev *vxlan = netdev_priv(dev); struct vxlan_dev *vxlan = netdev_priv(dev);
union vxlan_addr ip; union vxlan_addr ip;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment