From: Nicolas Dichtel Date: Thu, 15 Nov 2012 04:06:41 +0000 (+0000) Subject: sit: fix sparse warnings X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~45^2~327 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d440b72068bb8dff3cc1c2a05b61e60843d82494;p=pandora-kernel.git sit: fix sparse warnings This change fixes several sparse warnings about endianness problem. The wrong nla_*() functions were used. It also fix a sparse warning about a flag test (field i_flags). This field is used in this file like a local flag only, so it is more an u16 (gre uses it as a be16). This sparse warning was already there before the patch that add netlink management, the code has just been moved. Reported-by: Fengguang Wu Signed-off-by: Nicolas Dichtel Signed-off-by: David S. Miller --- Reading git-diff-tree failed