]> 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)
commitd90f906680fd1c74ab2a763fb92bfe84bec8d519
tree6bb984ea0f48325d72a53b7de1e8698aa73eb7e5
parentb7744a4e44ef9a69f9c8c53ed5dfaa340bfa61bb
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: f763ecd0e6eb5 ("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