From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pravin B Shelar Subject: [PATCH net-next 10/14] openvswitch: Fix the type of struct ovs_key_nd nd_target field. Date: Mon, 3 Nov 2014 22:01:52 -0800 Message-ID: <1415080912-1924-1-git-send-email-pshelar@nicira.com> Cc: netdev@vger.kernel.org, Jarno Rajahalme , Pravin B Shelar To: davem@davemloft.net Return-path: Received: from na6sys009bog028.obsmtp.com ([74.125.150.102]:60204 "HELO na6sys009bog028.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1752151AbaKEUCE (ORCPT ); Wed, 5 Nov 2014 15:02:04 -0500 Received: by mail-pa0-f44.google.com with SMTP id bj1so1438501pad.17 for ; Wed, 05 Nov 2014 12:02:03 -0800 (PST) Sender: netdev-owner@vger.kernel.org List-ID: From: Jarno Rajahalme 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 --- include/uapi/linux/openvswitch.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/uapi/linux/openvswitch.h b/include/uapi/linux/openvswitch.h index 631056b..26c36c4 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]; }; /** -- 1.9.3