From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751271AbdBWL5q (ORCPT ); Thu, 23 Feb 2017 06:57:46 -0500 Received: from mail-lf0-f45.google.com ([209.85.215.45]:34092 "EHLO mail-lf0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751098AbdBWL5o (ORCPT ); Thu, 23 Feb 2017 06:57:44 -0500 Subject: Re: [PATCH] uapi: fix linux/seg6.h and linux/seg6_iptunnel.h userspace compilation errors To: "Dmitry V. Levin" , "David S. Miller" , David Lebrun References: <20170223011355.GB16142@altlinux.org> Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org From: Sergei Shtylyov Message-ID: <12c26b3a-ba1d-ba4f-8c1d-f9b157fe75ba@cogentembedded.com> Date: Thu, 23 Feb 2017 14:57:40 +0300 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 MIME-Version: 1.0 In-Reply-To: <20170223011355.GB16142@altlinux.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2/23/2017 4:13 AM, Dmitry V. Levin wrote: > Include in uapi/linux/seg6.h to fix the following > linux/seg6.h userspace compilation error: > > /usr/include/linux/seg6.h:31:18: error: array type has incomplete element type 'struct in6_addr' > struct in6_addr segments[0]; > > Include in uapi/linux/seg6_iptunnel.h to fix > the following linux/seg6_iptunnel.h userspace compilation error: > > /usr/include/linux/seg6_iptunnel.h:26:21: error: array type has incomplete element type 'struct ipv6_sr_hdr' > struct ipv6_sr_hdr srh[0]; > > Fixes: a50a05f4("ipv6: sr: add missing Kbuild export for header files") 12 digits and space before ( as well. > Signed-off-by: Dmitry V. Levin [...] MBR, Sergei