From: Jarno Rajahalme Date: Tue, 30 Sep 2014 17:52:32 +0000 (-0700) Subject: openvswitch: Fix the type of struct ovs_key_nd nd_target field. X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=1a4e96a0e989200f7180264e27b22e9a85f3fcc8;p=openwrt%2Fstaging%2Fblogic.git openvswitch: Fix the type of struct ovs_key_nd nd_target field. Should be the same as other IPv6 address fields. Current master produces sparse warnings without this change. Signed-off-by: Jarno Rajahalme Signed-off-by: Pravin B Shelar --- diff --git a/include/uapi/linux/openvswitch.h b/include/uapi/linux/openvswitch.h index 631056b66f80..26c36c4cf7e2 100644 --- a/include/uapi/linux/openvswitch.h +++ b/include/uapi/linux/openvswitch.h @@ -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]; }; /**