diff options
author | Andy Zhou <azhou@nicira.com> | 2014-10-07 00:22:51 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-10-07 08:10:48 +0400 |
commit | 0a5d1c55faa5414858857875496f6f6a9926fa51 (patch) | |
tree | 6695de936e1c1934a25a538c4577c0367e8a316e /include/net/flow_keys.h | |
parent | 42350dcaaf1d8d95d58e8b43aee006d62c84bc2e (diff) | |
download | linux-0a5d1c55faa5414858857875496f6f6a9926fa51.tar.xz |
openvswitch: fix a sparse warning
Fix a sparse warning introduced by commit:
f5796684069e0c71c65bce6a6d4766114aec1396 (openvswitch: Add support for
Geneve tunneling.) caught by kbuild test robot:
reproduce:
# apt-get install sparse
# git checkout f5796684069e0c71c65bce6a6d4766114aec1396
# make ARCH=x86_64 allmodconfig
# make C=1 CF=-D__CHECK_ENDIAN__
#
#
# sparse warnings: (new ones prefixed by >>)
#
# >> net/openvswitch/vport-geneve.c:109:15: sparse: incorrect type in assignment (different base types)
# net/openvswitch/vport-geneve.c:109:15: expected restricted __be16 [usertype] sport
# net/openvswitch/vport-geneve.c:109:15: got int
# >> net/openvswitch/vport-geneve.c:110:56: sparse: incorrect type in argument 3 (different base types)
# net/openvswitch/vport-geneve.c:110:56: expected unsigned short [unsigned] [usertype] value
# net/openvswitch/vport-geneve.c:110:56: got restricted __be16 [usertype] sport
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Andy Zhou <azhou@nicira.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/flow_keys.h')
0 files changed, 0 insertions, 0 deletions