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

From: Stephen Hemminger
Date: Wed Jun 11 2014 - 11:40:43 EST


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

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

don't bother with iproute2 patch. I periodically resync sanitized headers from
kernel to iproute2.
--
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/