Received: by 2002:a25:b323:0:0:0:0:0 with SMTP id l35csp2748789ybj; Mon, 23 Sep 2019 08:47:52 -0700 (PDT) X-Google-Smtp-Source: APXvYqxi3B/gFQVEcvMdsaDRvuVofKDKKLkRlcB6p5LIGmxI91G72xl6+3mnnYSra2eX/QCoSeRV X-Received: by 2002:a05:6402:3066:: with SMTP id bs6mr752772edb.127.1569253672835; Mon, 23 Sep 2019 08:47:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569253672; cv=none; d=google.com; s=arc-20160816; b=u4Qq3e/AP9ZEcHT+fFappszmI4WEVcDDiARVY44077vrQWuRsk+sGD2W/ZZIRovO+f yUi3U8Df6v90rsUv7Q5AKvHTN16QBYpSVVrOi61KP53u2LTdMohXx++Nf3vXbICB0qGp gwgtFfkeEJhB2MHgHX7lVbH+AmJSx8KltUyAGPZy8xWr35UnlOgfR7HA0ivPp8g7njuU t1WKF/M8A/HzEdMJR5V369HOSbm/ABg/VRhiX4AL2CFA2HdfMn8Ip2/MIAt5aNsOSlOP U9i3LqZ7kqgZ4IUGpSeldX6rIulEJzA6fese0zwLrHW4XciQZb0e8G6P03M2I9AZgNzC uBTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature:dkim-filter; bh=e0LO2NCdAWPfrCQ7zpdpWdqIiGjNOGEohifdGVmgHQI=; b=VLJBfipFIhtaHMgu3cQhG3Wq9tDZjLyW/eip7vFNbEWmc9uE0K5eCFce1vlJSL+I+1 RXkW2JhCKen8Ko6ez3aTonvwy1iHBjEzdcsAZHCRYyumXCwr2HK7pbswE3BzsoQgu7CL c2BBULEsYVc61UHPJF9ouSvFeLtvoZ1oZSpg/L3lAMGyDXmrFMrdRRk4+L3XSgjOF9Qd tEXspYzqWecw8ROYCtQdQForbTvhiHtwzZ5L6WWA6gXFK8T7DSPkJ+iTLw3b7X9KPR6a PbxD/g2YAPArubU9UpZyDeEFwA+I24L27kdnPkgvl6TADIMA9iDJtOB4YA9BKzbgIZPn Xikw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=n+14iuM3; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ok21si5149843ejb.95.2019.09.23.08.47.28; Mon, 23 Sep 2019 08:47:52 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=n+14iuM3; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728693AbfIVLuM (ORCPT + 99 others); Sun, 22 Sep 2019 07:50:12 -0400 Received: from conssluserg-06.nifty.com ([210.131.2.91]:32452 "EHLO conssluserg-06.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726129AbfIVLuL (ORCPT ); Sun, 22 Sep 2019 07:50:11 -0400 X-Greylist: delayed 79364 seconds by postgrey-1.27 at vger.kernel.org; Sun, 22 Sep 2019 07:50:10 EDT Received: from mail-vs1-f44.google.com (mail-vs1-f44.google.com [209.85.217.44]) (authenticated) by conssluserg-06.nifty.com with ESMTP id x8MBnmOm002048; Sun, 22 Sep 2019 20:49:48 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-06.nifty.com x8MBnmOm002048 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1569152989; bh=e0LO2NCdAWPfrCQ7zpdpWdqIiGjNOGEohifdGVmgHQI=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=n+14iuM3gHo2Dc92TivlL2YTV9BnAhvuH4ZaY9kTQPEdMIOag80OltBAxp6wQNE0q UQk4miG3Jh3+SzpgBSNT3TyfVBLtzQ3nIX6hAnGUPir0e1loBVaJp8vrtSxxkkffH4 b8BO+UhuzarrQoDisau939CfX9/OBa3G3UCJmPzdyhdrVQ1dgWqulYe3IJqtoMxWTd /eIbPu1rRKloHbesceTPbs5c5wlF+vzuGJcVzrtLyH2RoxNGqtbCGmAd90KtUdPjfU IbhiXcjr42S99W2m6oE4Hv5nH/RH49jepmxWrLF2ZYzpQbf67LJ0EW5eDe1Osb11Ga 98+MkqduzxuSQ== X-Nifty-SrcIP: [209.85.217.44] Received: by mail-vs1-f44.google.com with SMTP id w195so7591995vsw.11; Sun, 22 Sep 2019 04:49:48 -0700 (PDT) X-Gm-Message-State: APjAAAU1XxbxXL1c3w1ZQFPqWfLWmvmYn9nwFm9zilHO5zKO6z6fzMeF ROsL4099qf6AsakXwbx7RCOKc/VuFzO0tX5e3Wc= X-Received: by 2002:a67:88c9:: with SMTP id k192mr7622437vsd.181.1569152987650; Sun, 22 Sep 2019 04:49:47 -0700 (PDT) MIME-Version: 1.0 References: <20190921134648.1259-1-yamada.masahiro@socionext.com> <20190922071111.3gflycy6t4jnjpd4@salvia> <20190922071315.iig2lbey5ophuipu@salvia> In-Reply-To: <20190922071315.iig2lbey5ophuipu@salvia> From: Masahiro Yamada Date: Sun, 22 Sep 2019 20:49:11 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] netfilter: use __u8 instead of uint8_t in uapi header To: Pablo Neira Ayuso Cc: Jozsef Kadlecsik , Florian Westphal , Netfilter Development Mailing list , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Pablo, On Sun, Sep 22, 2019 at 4:13 PM Pablo Neira Ayuso wro= te: > > On Sun, Sep 22, 2019 at 09:11:11AM +0200, Pablo Neira Ayuso wrote: > > On Sat, Sep 21, 2019 at 10:46:48PM +0900, Masahiro Yamada wrote: > > > When CONFIG_UAPI_HEADER_TEST=3Dy, exported headers are compile-tested= to > > > make sure they can be included from user-space. > > > > > > Currently, linux/netfilter_bridge/ebtables.h is excluded from the tes= t > > > coverage. To make it join the compile-test, we need to fix the build > > > errors attached below. > > > > > > For a case like this, we decided to use __u{8,16,32,64} variable type= s > > > in this discussion: > > > > > > https://lkml.org/lkml/2019/6/5/18 > > > > > > Build log: > > > > > > CC usr/include/linux/netfilter_bridge/ebtables.h.s > > > In file included from :32:0: > > > ./usr/include/linux/netfilter_bridge/ebtables.h:126:4: error: unknown= type name =E2=80=98uint8_t=E2=80=99 > > > uint8_t revision; > > > ^~~~~~~ > > > ./usr/include/linux/netfilter_bridge/ebtables.h:139:4: error: unknown= type name =E2=80=98uint8_t=E2=80=99 > > > uint8_t revision; > > > ^~~~~~~ > > > ./usr/include/linux/netfilter_bridge/ebtables.h:152:4: error: unknown= type name =E2=80=98uint8_t=E2=80=99 > > > uint8_t revision; > > > ^~~~~~~ > > > > Applied. > > Patch does not apply cleanly to nf.git, I have to keep it back, sorry Perhaps, reducing the context (git am -C) might help. Shall I rebase and resend it? Thanks. > $ git am /tmp/yamada.masahiro.txt -s > Applying: netfilter: use __u8 instead of uint8_t in uapi header > error: patch failed: usr/include/Makefile:37 > error: usr/include/Makefile: patch does not apply > Patch failed at 0001 netfilter: use __u8 instead of uint8_t in uapi heade= r > The copy of the patch that failed is found in: .git/rebase-apply/patch > When you have resolved this problem, run "git am --continue". > If you prefer to skip this patch, run "git am --skip" instead. > To restore the original branch and stop patching, run "git am --abort". --=20 Best Regards Masahiro Yamada