lkml.org 
[lkml]   [2017]   [Sep]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: net//netfilter/nf_nat_core.c:810:2: note: in expansion of macro 'if'
On Sun, Sep 17, 2017 at 5:32 AM, kbuild test robot
<fengguang.wu@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

\
 
 \ /
  Last update: 2017-09-18 16:32    [W:0.085 / U:5.812 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site