Merge branch 'for-linus-4.4' of git://git.kernel.org/pub/scm/linux/kernel/git/mason...
[firefly-linux-kernel-4.4.55.git] / lib / string.c
index 84775ba873b9efd978fa006be56e58057b34031f..0323c0d5629af31e674bcfa24624e0917e2bb80d 100644 (file)
@@ -904,7 +904,7 @@ void *memchr_inv(const void *start, int c, size_t bytes)
 
        value64 = value;
 #if defined(CONFIG_ARCH_HAS_FAST_MULTIPLIER) && BITS_PER_LONG == 64
-       value64 *= 0x0101010101010101;
+       value64 *= 0x0101010101010101ULL;
 #elif defined(CONFIG_ARCH_HAS_FAST_MULTIPLIER)
        value64 *= 0x01010101;
        value64 |= value64 << 32;