Skip to content

Commit

Permalink
trivial: Fix erspan coding style.
Browse files Browse the repository at this point in the history
Fix indentation and whitespace.

Signed-off-by: William Tu <[email protected]>
Acked-by: Ben Pfaff <[email protected]>
  • Loading branch information
williamtu committed Dec 4, 2019
1 parent 4d80f50 commit 9bf871c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/match.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
4 changes: 2 additions & 2 deletions lib/netdev-native-tnl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions lib/odp-util.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 9bf871c

Please sign in to comment.