From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752864AbdBHC4J (ORCPT ); Tue, 7 Feb 2017 21:56:09 -0500 Received: from szxga02-in.huawei.com ([119.145.14.65]:14258 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751748AbdBHC4I (ORCPT ); Tue, 7 Feb 2017 21:56:08 -0500 Subject: Re: [PATCH v2 1/5] bpf: Add missing header to the library To: =?UTF-8?Q?Micka=c3=abl_Sala=c3=bcn?= , References: <20170206204027.29078-1-mic@digikod.net> CC: Alexei Starovoitov , Arnaldo Carvalho de Melo , Daniel Borkmann , "David S . Miller" , Joe Stringer , From: "Wangnan (F)" Message-ID: Date: Wed, 8 Feb 2017 10:52:01 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <20170206204027.29078-1-mic@digikod.net> 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.0A090203.589A8840.00B0,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: 794c9af24aa36702c5ded966b995d079 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Please add me into the cc list of all of the 5 patches. Thank you. On 2017/2/7 4:40, Mickaël Salaün wrote: > Include stddef.h to define size_t. > > Signed-off-by: Mickaël Salaün > Cc: Alexei Starovoitov > Cc: Arnaldo Carvalho de Melo > Cc: Daniel Borkmann > Cc: Wang Nan > --- > 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 > +#include > > int bpf_create_map(enum bpf_map_type map_type, int key_size, int value_size, > int max_entries, __u32 map_flags);