Fixed - changed 1125899906842597 to 1125899906842597L On Mon, Apr 2, 2018 at 3:46 AM, kbuild test robot <fengguang.wu@xxxxxxxxx> wrote: > tree: git://git.samba.org/sfrench/cifs-2.6.git for-next > head: d6c8432f80d893cf2984327314344a343cda99bc > commit: dfd6a46f060634f89ffbb9cbaff522ded0f42c43 [19/20] Fix root directory when server returns inode number of zero > reproduce: > # apt-get install sparse > git checkout dfd6a46f060634f89ffbb9cbaff522ded0f42c43 > make ARCH=x86_64 allmodconfig > make C=1 CF=-D__CHECK_ENDIAN__ > > > sparse warnings: (new ones prefixed by >>) > >>> fs/cifs/inode.c:713:34: sparse: constant 1125899906842597 is so big it is long > > vim +713 fs/cifs/inode.c > > 709 > 710 /* Simple function to return a 64 bit hash of string. Rarely called */ > 711 static __u64 simple_hashstr(const char *str) > 712 { > > 713 const __u64 hash_mult = 1125899906842597; /* a big enough prime */ > 714 __u64 hash = 0; > 715 > 716 while (*str) > 717 hash = (hash + (__u64) *str++) * hash_mult; > 718 > 719 return hash; > 720 } > 721 > > --- > 0-DAY kernel test infrastructure Open Source Technology Center > https://lists.01.org/pipermail/kbuild-all Intel Corporation > -- > To unsubscribe from this list: send the line "unsubscribe linux-cifs" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html -- Thanks, Steve -- To unsubscribe from this list: send the line "unsubscribe linux-cifs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html