Skip to content

Commit

Permalink
openvswitch: Fix the type of struct ovs_key_nd nd_target field.
Browse files Browse the repository at this point in the history
Should be the same as other IPv6 address fields.

Current master produces sparse warnings without this change.

Signed-off-by: Jarno Rajahalme <jrajahalme@nicira.com>
Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
  • Loading branch information
Jarno Rajahalme authored and Pravin B Shelar committed Nov 6, 2014
1 parent e1f9c35 commit 1a4e96a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/uapi/linux/openvswitch.h
Original file line number Diff line number Diff line change
Expand Up @@ -400,9 +400,9 @@ struct ovs_key_arp {
};

struct ovs_key_nd {
__u32 nd_target[4];
__u8 nd_sll[ETH_ALEN];
__u8 nd_tll[ETH_ALEN];
__be32 nd_target[4];
__u8 nd_sll[ETH_ALEN];
__u8 nd_tll[ETH_ALEN];
};

/**
Expand Down

0 comments on commit 1a4e96a

Please sign in to comment.