From: Joseph Gasparakis Date: Fri, 13 Sep 2013 14:34:13 +0000 (-0700) Subject: vxlan: Fix sparse warnings X-Git-Tag: v3.12-rc2~14^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35e4237973665c8a1ad4e3f7a7cb87573deaa24a;p=pandora-kernel.git vxlan: Fix sparse warnings This patch fixes sparse warnings when incorrectly handling the port number and using int instead of unsigned int iterating through &vn->sock_list[]. Keeping the port as __be16 also makes things clearer wrt endianess. Also, it was pointed out that vxlan_get_rx_port() had unnecessary checks which got removed. Signed-off-by: Joseph Gasparakis Signed-off-by: Jeff Kirsher Signed-off-by: David S. Miller --- Reading git-diff-tree failed