Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1734189
| From | Arnd Bergmann <arnd@arndb.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: net//netfilter/nf_nat_core.c:810:2: note: in expansion of macro 'if' |
| Date | 2017-09-18 16:40 +0200 |
| Message-ID | <ur5nk-7uE-13@gated-at.bofh.it> (permalink) |
| References | <uqyB3-2qx-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
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
csiph-web