]> git.baikalelectronics.ru Git - kernel.git/commit
vxlan: fix sparse warnings
authorJiri Benc <jbenc@redhat.com>
Mon, 21 Mar 2016 16:39:18 +0000 (17:39 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Mar 2016 17:30:02 +0000 (13:30 -0400)
commitd0e096432ea635a8761c38387c2b2bc32d107c04
tree6bb984ea0f48325d72a53b7de1e8698aa73eb7e5
parentdd376580be24028379f139a32a4ae64495520365
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: a1cb91957a3fb ("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