openvswitch: Fix incorrect type use.
authorPravin B Shelar <pshelar@nicira.com>
Wed, 21 Oct 2015 03:47:46 +0000 (20:47 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 Oct 2015 13:46:13 +0000 (06:46 -0700)
commit99e28f18e3f4daa2091802e07ebeb4f541631320
tree96f49dcfd8cb91a8f0e214b7d31e48e5a5e846a2
parent721daebbdb9ba44756a9695878ecca8aad38009b
openvswitch: Fix incorrect type use.

Patch fixes following sparse warning.
net/openvswitch/flow_netlink.c:583:30: warning: incorrect type in assignment (different base types)
net/openvswitch/flow_netlink.c:583:30:    expected restricted __be16 [usertype] ipv4
net/openvswitch/flow_netlink.c:583:30:    got int

Fixes: 6b26ba3a7d ("openvswitch: netlink attributes for IPv6 tunneling")
Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Acked-by: Thomas Graf <tgraf@suug.ch>
Acked-by: Jiri Benc <jbenc@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/openvswitch/flow_netlink.c