]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit484eff112ec4b4cdad490c42b70e061d0544238a
tree96f49dcfd8cb91a8f0e214b7d31e48e5a5e846a2
parentdad93c17021533dce4b85e09e48df452d88ac617
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: 5179a47bad ("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