[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160812023139.GC5332@breakpoint.cc>
Date: Fri, 12 Aug 2016 04:31:39 +0200
From: Florian Westphal <fw@...len.de>
To: kbuild test robot <lkp@...el.com>
Cc: Florian Westphal <fw@...len.de>, kbuild-all@...org,
netdev@...r.kernel.org, tgraf@...g.ch
Subject: Re: [PATCH net] rhashtable: avoid large lock-array allocations
kbuild test robot <lkp@...el.com> wrote:
> Hi Florian,
>
> [auto build test WARNING on net/master]
>
> url: https://github.com/0day-ci/linux/commits/Florian-Westphal/rhashtable-avoid-large-lock-array-allocations/20160812-101458
> config: x86_64-randconfig-x015-201632 (attached as .config)
> compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705
> reproduce:
> # save the attached .config to linux build tree
> make ARCH=x86_64
>
> All warnings (new ones prefixed by >>):
>
> In file included from lib/rhashtable.c:18:0:
> lib/rhashtable.c: In function 'rhashtable_init':
> >> lib/rhashtable.c:34:30: warning: division by zero [-Wdiv-by-zero]
> 2 * L1_CACHE_BYTES / sizeof(spinlock_t), 1)
I will send a v2 tomorrow, perhaps its better to just go for
32UL instead of this construct after all.
Powered by blists - more mailing lists