lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Mon, 18 Sep 2017 16:32:16 +0200
From:   Arnd Bergmann <arnd@...db.de>
To:     kbuild test robot <fengguang.wu@...el.com>
Cc:     Florian Westphal <fw@...len.de>, kbuild-all@...org,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
        Pablo Neira Ayuso <pablo@...filter.org>
Subject: Re: 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@...el.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ