Hi, [auto build test WARNING on ext4/dev] [also build test WARNING on v4.7 next-20160729] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Theodore-Ts-o/ext4-add-ability-to-control-the-pseudo-random-seed-used-by-ext4/20160730-001338 base: https://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git dev config: x86_64-randconfig-s2-07300120 (attached as .config) compiler: gcc-4.4 (Debian 4.4.7-8) 4.4.7 reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All warnings (new ones prefixed by >>): fs/ext4/ialloc.c: In function 'find_group_orlov': >> fs/ext4/ialloc.c:490: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'ext4_group_t' fs/ext4/ialloc.c: In function 'ext4_orphan_get': fs/ext4/ialloc.c:1155: warning: 'bit' may be used uninitialized in this function vim +490 fs/ext4/ialloc.c 474 do_div(avefreec, ngroups); 475 ndirs = percpu_counter_read_positive(&sbi->s_dirs_counter); 476 477 if (S_ISDIR(mode) && 478 ((parent == d_inode(sb->s_root)) || 479 (ext4_test_inode_flag(parent, EXT4_INODE_TOPDIR)))) { 480 int best_ndir = inodes_per_group; 481 int ret = -1; 482 483 if (qstr) { 484 hinfo.hash_version = DX_HASH_HALF_MD4; 485 hinfo.seed = sbi->s_hash_seed; 486 ext4fs_dirhash(qstr->name, qstr->len, &hinfo); 487 grp = hinfo.hash; 488 } else { 489 grp = prandom_u32_state(&sbi->s_rnd_state); > 490 pr_err("ext4 random: %lu\n", grp); 491 } 492 parent_group = (unsigned)grp % ngroups; 493 for (i = 0; i < ngroups; i++) { 494 g = (parent_group + i) % ngroups; 495 get_orlov_stats(sb, g, flex_size, &stats); 496 if (!stats.free_inodes) 497 continue; 498 if (stats.used_dirs >= best_ndir) --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: Binary data