netfilter: nft_tunnel: fix sparse errors
authorPablo Neira Ayuso <pablo@netfilter.org>
Fri, 3 Aug 2018 22:31:48 +0000 (00:31 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 3 Aug 2018 22:53:29 +0000 (00:53 +0200)
commit483f3fdcc70b3c3a1f314235ab0066f3dbd4cfbe
treee5068f9b03e0af45b8c42f87814b87bcdc8ea5c3
parent020f6cc5f75511c5974cfd454f224365bc0c2df4
netfilter: nft_tunnel: fix sparse errors

[...]
net/netfilter/nft_tunnel.c:117:25:    expected unsigned int [unsigned] [usertype] flags
net/netfilter/nft_tunnel.c:117:25:    got restricted __be16 [usertype] <noident>
[...]
net/netfilter/nft_tunnel.c:246:33:    expected restricted __be16 [addressable] [assigned] [usertype] tp_dst
net/netfilter/nft_tunnel.c:246:33:    got int

Fixes: af308b94a2a4 ("netfilter: nf_tables: add tunnel support")
Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nft_tunnel.c