From mboxrd@z Thu Jan 1 00:00:00 1970 From: kbuild test robot Subject: Re: [PATCH bpf-next 01/10] bpf: btf: Introduce BPF Type Format (BTF) Date: Sat, 31 Mar 2018 16:43:28 +0800 Message-ID: <201803311609.lYZvgC9z%fengguang.wu@intel.com> References: <20180330182643.3539371-2-kafai@fb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kbuild-all@01.org, netdev@vger.kernel.org, Alexei Starovoitov , Daniel Borkmann , kernel-team@fb.com To: Martin KaFai Lau Return-path: Received: from mga02.intel.com ([134.134.136.20]:11253 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752877AbeCaInm (ORCPT ); Sat, 31 Mar 2018 04:43:42 -0400 Content-Disposition: inline In-Reply-To: <20180330182643.3539371-2-kafai@fb.com> Sender: netdev-owner@vger.kernel.org List-ID: Hi Martin, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on bpf-next/master] url: https://github.com/0day-ci/linux/commits/Martin-KaFai-Lau/BTF-BPF-Type-Format/20180331-144656 base: https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git master reproduce: # apt-get install sparse make ARCH=x86_64 allmodconfig make C=1 CF=-D__CHECK_ENDIAN__ sparse warnings: (new ones prefixed by >>) >> kernel/bpf/btf.c:666:28: sparse: symbol 'enum_ops' was not declared. Should it be static? kernel/bpf/btf.c:833:20: warning: 'btf_parse' defined but not used [-Wunused-function] static struct btf *btf_parse(void __user *btf_data, u32 btf_data_size, ^~~~~~~~~ Please review and possibly fold the followup patch. --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation