diff options
author | Joseph Gasparakis <joseph.gasparakis@intel.com> | 2013-09-13 07:34:13 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-09-15 22:18:13 -0400 |
commit | 35e4237973665c8a1ad4e3f7a7cb87573deaa24a (patch) | |
tree | ce2529c137ec6b1da4f81aa77c2882706bd0c80c /init | |
parent | 5c44bbdab5fd7831859cf0d38626317ffcf39558 (diff) | |
download | linux-35e4237973665c8a1ad4e3f7a7cb87573deaa24a.tar.bz2 |
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 <joseph.gasparakis@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions