Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1734189 > unrolled thread

Re: net//netfilter/nf_nat_core.c:810:2: note: in expansion of macro 'if'

Started byArnd Bergmann <arnd@arndb.de>
First post2017-09-18 16:40 +0200
Last post2017-09-18 16:40 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: net//netfilter/nf_nat_core.c:810:2: note: in expansion of macro 'if' Arnd Bergmann <arnd@arndb.de> - 2017-09-18 16:40 +0200

#1734189 — Re: net//netfilter/nf_nat_core.c:810:2: note: in expansion of macro 'if'

FromArnd Bergmann <arnd@arndb.de>
Date2017-09-18 16:40 +0200
SubjectRe: net//netfilter/nf_nat_core.c:810:2: note: in expansion of macro 'if'
Message-ID<ur5nk-7uE-13@gated-at.bofh.it>
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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web