From: Jiri Benc <jb...@redhat.com> Date: Mon, 21 Mar 2016 17:39:18 +0100
> 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...@intel.com> > Signed-off-by: Jiri Benc <jb...@redhat.com> Applied, thanks Jiri. > As a side note, I tried to simplify all of these functions by using nested > be32_to_cpu(cpu_to_be32()) calls but GCC seems not to be clever enough to > optimize the byteswaps out. Ok, thanks for the note, thanks again.