Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755885AbaFKPkl (ORCPT ); Wed, 11 Jun 2014 11:40:41 -0400 Received: from mail-pb0-f42.google.com ([209.85.160.42]:33197 "EHLO mail-pb0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752163AbaFKPkj (ORCPT ); Wed, 11 Jun 2014 11:40:39 -0400 Date: Wed, 11 Jun 2014 08:40:36 -0700 From: Stephen Hemminger To: Dmitry Popov Cc: "David S. Miller" , Steffen Klassert , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, trivial@kernel.org Subject: Re: [PATCH] ip_vti: fix sparse warnings for VTI_ISVTI Message-ID: <20140611084036.11f234f0@nehalam.linuxnetplumber.net> In-Reply-To: <20140611160215.7b0fbe7c4f42cf02b5496852@qrator.net> References: <20140611150914.c3cb48bb8a1a760564f5db6e@qrator.net> <20140611160215.7b0fbe7c4f42cf02b5496852@qrator.net> X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.23; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 11 Jun 2014 16:02:15 +0400 Dmitry Popov wrote: > On Wed, 11 Jun 2014 15:09:14 +0400 > Dmitry Popov 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/