openvswitch.h: Fix the type of struct ovs_key_nd nd_target field.
authorJarno Rajahalme <jrajahalme@nicira.com>
Wed, 10 Sep 2014 20:02:46 +0000 (13:02 -0700)
committerJarno Rajahalme <jrajahalme@nicira.com>
Wed, 10 Sep 2014 20:02:46 +0000 (13:02 -0700)
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>
Acked-by: Pravin B Shelar <pshelar@nicira.com>
datapath/linux/compat/include/linux/openvswitch.h

index 6910dc4..306ea86 100644 (file)
@@ -435,9 +435,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];
 };
 
 /**