linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [linux-next:master 2811/2969] lib/test-parse-integer.c:118:57: sparse: constant 4294967296 is so big it is long
       [not found] <201507161728.QVcHY3Ks%fengguang.wu@intel.com>
@ 2015-07-16 18:51 ` Alexey Dobriyan
  0 siblings, 0 replies; only message in thread
From: Alexey Dobriyan @ 2015-07-16 18:51 UTC (permalink / raw)
  To: kbuild test robot; +Cc: kbuild-all, Andrew Morton, linux-kernel

On Thu, Jul 16, 2015 at 05:10:30PM +0800, kbuild test robot wrote:

Frankly, I don't remember why this sparse warning exists at all.
Some numbers are postfixed with ULL because gcc says something
about C99 rules and that's it.

And linux-mm has nothing to do with the code. :^)

> >> lib/test-parse-integer.c:118:57: sparse: constant 4294967296 is so big it is long
>    lib/test-parse-integer.c:119:57: sparse: constant 9223372036854775807 is so big it is long
>    lib/test-parse-integer.c:134:57: sparse: constant 040000000000 is so big it is long
>    lib/test-parse-integer.c:135:57: sparse: constant 0777777777777777777777 is so big it is long
> >> lib/test-parse-integer.c:136:57: sparse: constant 01000000000000000000000 is so big it is unsigned long
>    lib/test-parse-integer.c:137:57: sparse: constant 01777777777777777777777 is so big it is unsigned long
>    lib/test-parse-integer.c:150:49: sparse: constant 0x100000000 is so big it is long
>    lib/test-parse-integer.c:151:49: sparse: constant 0x7fffffffffffffff is so big it is long
>    lib/test-parse-integer.c:152:49: sparse: constant 0x8000000000000000 is so big it is unsigned long
>    lib/test-parse-integer.c:153:49: sparse: constant 0xffffffffffffffff is so big it is unsigned long
>    lib/test-parse-integer.c:287:50: sparse: constant 4294967296 is so big it is long
>    lib/test-parse-integer.c:301:49: sparse: constant 9223372036854775807 is so big it is long
> 
> vim +118 lib/test-parse-integer.c
> 
>    112		{"32768",			10,	5,	32768},
>    113		{"65535",			10,	5,	65535},
>    114		{"65536",			10,	5,	65536},
>    115		{"2147483647",			10,	10,	2147483647},
>    116		{"2147483648",			10,	10,	2147483648ull},
>    117		{"4294967295",			10,	10,	4294967295ull},
>  > 118		{"4294967296",			10,	10,	4294967296},
>    119		{"9223372036854775807",		10,	19,	9223372036854775807},
>    120		{"9223372036854775808",		10,	19,	9223372036854775808ull},
>    121		{"18446744073709551615",	10,	20,	18446744073709551615ull},
>    122	
>    123		{"177",				8,	3,	0177},
>    124		{"200",				8,	3,	0200},
>    125		{"377",				8,	3,	0377},
>    126		{"400",				8,	3,	0400},
>    127		{"77777",			8,	5,	077777},
>    128		{"100000",			8,	6,	0100000},
>    129		{"177777",			8,	6,	0177777},
>    130		{"200000",			8,	6,	0200000},
>    131		{"17777777777",			8,	11,	017777777777},
>    132		{"20000000000",			8,	11,	020000000000},
>    133		{"37777777777",			8,	11,	037777777777},
>    134		{"40000000000",			8,	11,	040000000000},
>    135		{"777777777777777777777",	8,	21,	0777777777777777777777},
>  > 136		{"1000000000000000000000",	8,	22,	01000000000000000000000},
>    137		{"1777777777777777777777",	8,	22,	01777777777777777777777},

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-07-16 18:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <201507161728.QVcHY3Ks%fengguang.wu@intel.com>
2015-07-16 18:51 ` [linux-next:master 2811/2969] lib/test-parse-integer.c:118:57: sparse: constant 4294967296 is so big it is long Alexey Dobriyan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).