On Sun, Sep 17, 2017 at 5:32 AM, kbuild test robot <fengguang...@intel.com> wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > master > head: 2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e > commit: 8073e960a03bf7b5d5ebfc5ff18ac475e1688f46 netfilter: nat: use keyed > locks > date: 8 days ago > config: x86_64-randconfig-s4-09170918 (attached as .config) > compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 > reproduce: > git checkout 8073e960a03bf7b5d5ebfc5ff18ac475e1688f46 > # save the attached .config to linux build tree > make ARCH=x86_64 > > All warnings (new ones prefixed by >>): > > In file included from include/linux/list.h:8:0, > from include/linux/module.h:9, > from net//netfilter/nf_nat_core.c:11: > net//netfilter/nf_nat_core.c: In function 'nf_nat_setup_info': > include/linux/kernel.h:60:38: warning: division by zero [-Wdiv-by-zero] > #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + > __must_be_array(arr))
This is fixed by https://patchwork.kernel.org/patch/9946253/ Arnd