Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1576242

Re: [PATCH v3 1/5] bpf: Add missing header to the library

Path csiph.com!feeder.erje.net!2.eu.feeder.erje.net!news2.arglkargh.de!news.mixmin.net!aioe.org!news.servidellagleba.it!bofh.it!news.nic.it!robomod
From "Wangnan (F)" <wangnan0@huawei.com>
Newsgroups linux.kernel
Subject Re: [PATCH v3 1/5] bpf: Add missing header to the library
Date Wed, 08 Feb 2017 03:50:01 +0100
Message-ID <t8qut-2In-3@gated-at.bofh.it> (permalink)
References <t8l1M-7If-5@gated-at.bofh.it> <t8l1N-7If-37@gated-at.bofh.it>
X-Original-To Mickaël Salaün <mic@digikod.net>, <linux-kernel@vger.kernel.org>
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1
MIME-Version 1.0
Content-Type text/plain; charset="utf-8"; format=flowed
Content-Transfer-Encoding 8bit
X-Originating-IP [10.111.194.139]
X-Cfilter-Loop Reflected
X-Mirapoint-Virus-Rapid-Raw score=unknown(0), refid=str=0001.0A090204.589A8729.00A6,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2013-06-18 04:22:30, dmn=2013-03-21 17:37:32
X-Mirapoint-Loop-ID f04898d3f6b746adb2e7371c4968e9ae
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 29
Organization linux.* mail to news gateway
X-Original-Cc Alexei Starovoitov <ast@fb.com>, Arnaldo Carvalho de Melo <acme@redhat.com>, Daniel Borkmann <daniel@iogearbox.net>, "David S . Miller" <davem@davemloft.net>, Joe Stringer <joe@ovn.org>, <netdev@vger.kernel.org>
X-Original-Date Wed, 8 Feb 2017 10:47:18 +0800
X-Original-Message-ID <b3db796c-b4a5-ffb4-4dc7-4bb28fc1fd00@huawei.com>
X-Original-References <20170207205609.8035-1-mic@digikod.net> <20170207205609.8035-2-mic@digikod.net>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1576242

Show key headers only | View raw



On 2017/2/8 4:56, Mickaël Salaün wrote:
> Include stddef.h to define size_t.
>
> Signed-off-by: Mickaël Salaün <mic@digikod.net>
> Cc: Alexei Starovoitov <ast@fb.com>
> Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
> Cc: Daniel Borkmann <daniel@iogearbox.net>
> Cc: Wang Nan <wangnan0@huawei.com>
> ---
>   tools/lib/bpf/bpf.h | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/tools/lib/bpf/bpf.h b/tools/lib/bpf/bpf.h
> index a2f9853dd882..df6e186da788 100644
> --- a/tools/lib/bpf/bpf.h
> +++ b/tools/lib/bpf/bpf.h
> @@ -22,6 +22,7 @@
>   #define __BPF_BPF_H
>   
>   #include <linux/bpf.h>
> +#include <stddef.h>
>   
>   int bpf_create_map(enum bpf_map_type map_type, int key_size, int value_size,
>   		   int max_entries, __u32 map_flags);
Looks good to me.

Thank you.

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v3 0/5] Miscellaneous fixes for BPF (perf tree) Mickaël Salaün <mic@digikod.net> - 2017-02-07 22:00 +0100
  [PATCH v3 1/5] bpf: Add missing header to the library Mickaël Salaün <mic@digikod.net> - 2017-02-07 22:00 +0100
    Re: [PATCH v3 1/5] bpf: Add missing header to the library "Wangnan (F)" <wangnan0@huawei.com> - 2017-02-08 03:50 +0100
      Re: [PATCH v3 1/5] bpf: Add missing header to the library Arnaldo Carvalho de Melo <acme@redhat.com> - 2017-02-08 20:50 +0100
  [PATCH v3 3/5] samples/bpf: Ignore already processed ELF sections Mickaël Salaün <mic@digikod.net> - 2017-02-07 22:00 +0100
  [PATCH v3 5/5] samples/bpf: Add missing header Mickaël Salaün <mic@digikod.net> - 2017-02-07 22:00 +0100
  [PATCH v3 4/5] samples/bpf: Reset global variables Mickaël Salaün <mic@digikod.net> - 2017-02-07 22:00 +0100

csiph-web