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},
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/