Fix indentation and whitespace.
Signed-off-by: William Tu <[email protected]>
---
lib/match.c | 2 +-
lib/netdev-native-tnl.c | 4 ++--
lib/odp-util.c | 4 ++--
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/lib/match.c b/lib/match.c
index 052daee146f2..ae568280a2bb 100644
--- a/lib/match.c
+++ b/lib/match.c
@@ -1311,7 +1311,7 @@ format_flow_tunnel(struct ds *s, const struct match
*match)
ds_put_format(s, "tun_erspan_ver=%"PRIu8",", tnl->erspan_ver);
}
if (wc->masks.tunnel.erspan_idx && tnl->erspan_ver == 1) {
- ds_put_format(s, "tun_erspan_idx=%#"PRIx32",", tnl->erspan_idx);
+ ds_put_format(s, "tun_erspan_idx=%#"PRIx32",", tnl->erspan_idx);
}
if (wc->masks.tunnel.erspan_dir && tnl->erspan_ver == 2) {
ds_put_format(s, "tun_erspan_dir=%"PRIu8",", tnl->erspan_dir);
diff --git a/lib/netdev-native-tnl.c b/lib/netdev-native-tnl.c
index 56baaa217a5d..a78972888e33 100644
--- a/lib/netdev-native-tnl.c
+++ b/lib/netdev-native-tnl.c
@@ -618,8 +618,8 @@ netdev_erspan_push_header(const struct netdev *netdev,
int
netdev_erspan_build_header(const struct netdev *netdev,
- struct ovs_action_push_tnl *data,
- const struct netdev_tnl_build_header_params *params)
+ struct ovs_action_push_tnl *data,
+ const struct netdev_tnl_build_header_params *params)
{
struct netdev_vport *dev = netdev_vport_cast(netdev);
struct netdev_tunnel_config *tnl_cfg;
diff --git a/lib/odp-util.c b/lib/odp-util.c
index b9600b4d5cba..c3be2a59697f 100644
--- a/lib/odp-util.c
+++ b/lib/odp-util.c
@@ -3602,8 +3602,8 @@ format_odp_tun_vxlan_opt(const struct nlattr *attr,
static void
format_odp_tun_erspan_opt(const struct nlattr *attr,
- const struct nlattr *mask_attr, struct ds *ds,
- bool verbose)
+ const struct nlattr *mask_attr, struct ds *ds,
+ bool verbose)
{
const struct erspan_metadata *opts, *mask;
uint8_t ver, ver_ma, dir, dir_ma, hwid, hwid_ma;
--
2.7.4
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev