Re: [PATCH] ip_vti: fix sparse warnings for VTI_ISVTI

From: Dmitry Popov
Date: Wed Jun 11 2014 - 08:02:25 EST


On Wed, 11 Jun 2014 15:09:14 +0400
Dmitry Popov <ixaphire@xxxxxxxxxx> wrote:

>
> 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.
>

If this patch is okay I will submit it to iproute2 too. if_tunnel.h has to be
synced.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/