]> git.baikalelectronics.ru Git - kernel.git/commit
lib/string.c: add ULL suffix to the constant definition
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 10 Nov 2015 22:45:14 +0000 (14:45 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 11 Nov 2015 00:32:11 +0000 (16:32 -0800)
commitf29ea4c76618a820cca6d5bc37832be6179afc47
tree0443b14c9d74a4b468c3af1e8975d0c68b37ced6
parentd3254a237488c639ba0c8c29089720e742f0049e
lib/string.c: add ULL suffix to the constant definition

8-byte constant is too big for long and compiler complains about this.

  lib/string.c:907:20: warning: constant 0x0101010101010101 is so big it is long

Append ULL suffix to explicitly show its type.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/string.c