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


Groups > linux.kernel > #1707853

Re: [PATCH 2/2] lib: add test for bitmap_parselist()

From Andrew Morton <akpm@linux-foundation.org>
Newsgroups linux.kernel
Subject Re: [PATCH 2/2] lib: add test for bitmap_parselist()
Date 2017-08-09 22:40 +0200
Message-ID <ucFVM-3Rs-9@gated-at.bofh.it> (permalink)
References <ucpQZ-1d8-11@gated-at.bofh.it> <ucpQZ-1d8-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, 9 Aug 2017 11:28:56 +0800 kbuild test robot <lkp@intel.com> wrote:

> [auto build test WARNING on linus/master]
> [also build test WARNING on v4.13-rc4 next-20170808]
> [if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
> 
> url:    https://github.com/0day-ci/linux/commits/Yury-Norov/lib-make-bitmap_parselist-thread-safe-and-much-faster/20170809-105307
> config: i386-randconfig-x000-201732 (attached as .config)
> compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
> reproduce:
>         # save the attached .config to linux build tree
>         make ARCH=i386 
> 
> All warnings (new ones prefixed by >>):
> 
> >> lib/test_bitmap.c:180:17: warning: large integer implicitly truncated to unsigned type [-Woverflow]
>         0xfffffffe, 0x3333333311111111, 0xffffffff77777777};
>                     ^~~~~~~~~~~~~~~~~~

I assume that a simple convertion to unsigned long long will fix that,
but I'll await Yuri's input (and testing).

btw, exp[] and exp2[] could be __initconst?

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: [PATCH 2/2] lib: add test for bitmap_parselist() Andrew Morton <akpm@linux-foundation.org> - 2017-08-09 22:40 +0200
  Re: [PATCH 2/2] lib: add test for bitmap_parselist() Rasmus Villemoes <linux@rasmusvillemoes.dk> - 2017-08-10 09:40 +0200

csiph-web