linux/include/uapi
Dmitry Popov efd0f11d85 ip_vti: fix sparse warnings for VTI_ISVTI
This patch fixes the following sparse warnings:

net/ipv4/ip_tunnel.c:245:53: warning: restricted __be16 degrades to integer
net/ipv4/ip_vti.c:321:19: warning: incorrect type in assignment (different base types)
net/ipv4/ip_vti.c:321:19:    expected restricted __be16 [addressable] [assigned] [usertype] i_flags
net/ipv4/ip_vti.c:321:19:    got int
net/ipv4/ip_vti.c:447:24: warning: incorrect type in assignment (different base types)
net/ipv4/ip_vti.c:447:24:    expected restricted __be16 [usertype] i_flags
net/ipv4/ip_vti.c:447:24:    got int

Since VTI_ISVTI is always used with ip_tunnel_parm->i_flags (which is __be16),
we can __force cast VTI_ISVTI to __be16 in header file.

Signed-off-by: Dmitry Popov <ixaphire@qrator.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-06-11 15:39:19 -07:00
..
asm-generic asm-generic: Add renameat2 syscall 2014-05-20 10:59:38 +02:00
drm drm/tegra: Remove gratuitous pad field 2014-04-16 17:11:04 +02:00
linux ip_vti: fix sparse warnings for VTI_ISVTI 2014-06-11 15:39:19 -07:00
mtd UBI: make UBI_IOCVOLCRBLK take a parameter for future usage 2014-03-06 12:04:22 +02:00
rdma IB/core: Re-enable create_flow/destroy_flow uverbs 2013-11-17 08:22:09 -08:00
scsi
sound ALSA: compress: add num_sample_rates in snd_codec_desc 2014-01-07 18:33:40 +01:00
video
xen xen: install xen/gntdev.h and xen/gntalloc.h 2014-02-11 10:12:36 -05:00
Kbuild