From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin KaFai Lau Subject: Re: [net-next:master 1184/1189] include/linux/bpf.h:324:21: error: 'NUMA_NO_NODE' undeclared Date: Sat, 19 Aug 2017 23:44:35 -0700 Message-ID: <20170820064435.condwbct5aqeufut@kafai-mba.local> References: <201708201349.qPOeS6kf%fengguang.wu@intel.com> <20170819.233313.2054468070616685885.davem@davemloft.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Cc: , , To: David Miller Return-path: Received: from mx0a-00082601.pphosted.com ([67.231.145.42]:45450 "EHLO mx0a-00082601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751607AbdHTGol (ORCPT ); Sun, 20 Aug 2017 02:44:41 -0400 Content-Disposition: inline In-Reply-To: <20170819.233313.2054468070616685885.davem@davemloft.net> Sender: netdev-owner@vger.kernel.org List-ID: On Sat, Aug 19, 2017 at 11:33:13PM -0700, David Miller wrote: > From: kbuild test robot > Date: Sun, 20 Aug 2017 13:43:54 +0800 > > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master > > head: 228498596c44041c710f5a633904205bc1cd9177 > > commit: 96eabe7a40aa17e613cf3db2c742ee8b1fc764d0 [1184/1189] bpf: Allow selecting numa node during map creation > > config: i386-randconfig-s1-201734 (attached as .config) > > compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 > > reproduce: > > git checkout 96eabe7a40aa17e613cf3db2c742ee8b1fc764d0 > > # save the attached .config to linux build tree > > make ARCH=i386 > > > > All error/warnings (new ones prefixed by >>): > > > > In file included from net/bpf/test_run.c:7:0: > > include/linux/bpf.h: In function 'bpf_map_attr_numa_node': > >>> include/linux/bpf.h:324:21: error: 'NUMA_NO_NODE' undeclared (first use in this function) > > attr->numa_node : NUMA_NO_NODE; > > ^~~~~~~~~~~~ > > I'll add the linux/numa.h include to linux/bpf.h Thanks for fixing it. Sorry for the mistake.