[zwisler:mmots_dax_tracepoint 82/143] mm/z3fold.c:270:13: error: 'zhdr' undeclared

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/zwisler/linux.git mmots_dax_tracepoint
head:   da4c62b5ae469ab971d717cd9a6f7651aabe5ab9
commit: e42ecae156681e85b4020293320585249884ec30 [82/143] z3fold: add kref refcounting
config: x86_64-randconfig-i0-201701 (attached as .config)
compiler: gcc-4.9 (Debian 4.9.4-2) 4.9.4
reproduce:
        git checkout e42ecae156681e85b4020293320585249884ec30
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   mm/z3fold.c: In function 'z3fold_create_pool':
>> mm/z3fold.c:270:13: error: 'zhdr' undeclared (first use in this function)
     kref_init(&zhdr->refcount);
                ^
   mm/z3fold.c:270:13: note: each undeclared identifier is reported only once for each function it appears in

vim +/zhdr +270 mm/z3fold.c

   264		int i;
   265	
   266		pool = kzalloc(sizeof(struct z3fold_pool), gfp);
   267		if (!pool)
   268			return NULL;
   269		spin_lock_init(&pool->lock);
 > 270		kref_init(&zhdr->refcount);
   271		for_each_unbuddied_list(i, 0)
   272			INIT_LIST_HEAD(&pool->unbuddied[i]);
   273		INIT_LIST_HEAD(&pool->lru);

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]