Re: [PATCH bpf-next 5/8] bpf: Add link-based BPF program attachment to network namespace
From: Jakub Sitnicki <jakub@cloudflare.com>
Date: 2020-06-05 14:41:15
Also in:
bpf
On Fri, Jun 05, 2020 at 01:38 AM CEST, Nick Desaulniers wrote:
On Wed, May 27, 2020 at 8:19 PM kbuild test robot [off-list ref] wrote:quoted
Hi Jakub, I love your patch! Perhaps something to improve: [auto build test WARNING on bpf-next/master] [also build test WARNING on net-next/master next-20200526] [cannot apply to bpf/master net/master linus/master v5.7-rc7] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use '--base' option to specify the base tree in git format-patch, please see https://stackoverflow.com/a/37406982] url: https://github.com/0day-ci/linux/commits/Jakub-Sitnicki/Link-based-program-attachment-to-network-namespaces/20200528-011159 base: https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git master config: arm-randconfig-r035-20200527 (attached as .config) compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 3393cc4cebf9969db94dc424b7a2b6195589c33b) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # install arm cross compiling tool for clang build # apt-get install binutils-arm-linux-gnueabi # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm If you fix the issue, kindly add following tag as appropriate Reported-by: kbuild test robot <redacted> All warnings (new ones prefixed by >>, old ones prefixed by <<):quoted
quoted
kernel/bpf/net_namespace.c:130:6: warning: variable 'inum' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]This looks legit to me. Please fix.
It is legit, or rather it was. Already fixed in v2 [0] (jump to bpf_netns_link_fill_info). [...]