vxlan: fix sparse warnings
commit5692d7ea4183b8dd5a49d73d6a4436aa22929b7b
authorJiri Benc <jbenc@redhat.com>
Mon, 21 Mar 2016 16:39:18 +0000 (21 17:39 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Mar 2016 17:30:02 +0000 (21 13:30 -0400)
tree6bb984ea0f48325d72a53b7de1e8698aa73eb7e5
parented49e650371008b0e00c8004cc2ca93055740f78
vxlan: fix sparse warnings

Sparse reports false positives for the header manipulation inlines. Annotate
them correctly.

Tested by sparse on a little endian and big endian machine.

Fixes: 54bfd872bf16d ("vxlan: keep flags and vni in network byte order")
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Jiri Benc <jbenc@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/vxlan.h