tree: https://git.kernel.org/pub/scm/linux/kernel/git/mhocko/mm.git cleanups/kvmalloc head: 351a752d1cd188fbe199f7a42094af72ee90fd63 commit: 351a752d1cd188fbe199f7a42094af72ee90fd63 [5/5] rhashtable: simplify a strange allocation pattern config: xtensa-allyesconfig (attached as .config) compiler: xtensa-linux-gcc (GCC) 4.9.0 reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout 351a752d1cd188fbe199f7a42094af72ee90fd63 # save the attached .config to linux build tree make.cross ARCH=xtensa All errors (new ones prefixed by >>): lib/rhashtable.c: In function 'alloc_bucket_locks': >> lib/rhashtable.c:80:31: error: 'gfp_' undeclared (first use in this function) if (gfpflags_allow_blocking(gfp_)) ^ lib/rhashtable.c:80:31: note: each undeclared identifier is reported only once for each function it appears in vim +/gfp_ +80 lib/rhashtable.c 74 size = roundup_pow_of_two(nr_pcpus * ht->p.locks_mul); 75 76 /* Never allocate more than 0.5 locks per bucket */ 77 size = min_t(unsigned int, size, tbl->size >> 1); 78 79 if (sizeof(spinlock_t) != 0) { > 80 if (gfpflags_allow_blocking(gfp_)) 81 tbl->locks = kvmalloc(size * sizeof(spinlock_t), gfp); 82 else 83 tbl->locks = kmalloc_array(size, sizeof(spinlock_t), --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip