]> 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)
commit19e3ae49e19b9ebffabea06746e2e77749666a6e
tree0443b14c9d74a4b468c3af1e8975d0c68b37ced6
parent868298c751d64e88cfa184dad3ecf40430a11aab
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