Re: [PATCHv4 1/3] rdmacg: Added rdma cgroup controller.

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

 



Hi Parav,

[auto build test ERROR on cgroup/for-next]
[also build test ERROR on v4.5-rc1 next-20160129]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url:    https://github.com/0day-ci/linux/commits/Parav-Pandit/rdmacg-IB-core-rdma-controller-support/20160131-063313
base:   https://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git for-next
config: xtensa-allmodconfig (attached as .config)
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
        # save the attached .config to linux build tree
        make.cross ARCH=xtensa 

All errors (new ones prefixed by >>):

   In file included from arch/xtensa/include/generated/asm/bug.h:1:0,
                    from include/linux/bug.h:4,
                    from include/linux/mmdebug.h:4,
                    from include/linux/gfp.h:4,
                    from include/linux/slab.h:14,
                    from kernel/cgroup_rdma.c:8:
   kernel/cgroup_rdma.c: In function 'find_cg_rpool_locked':
>> include/linux/lockdep.h:340:51: error: invalid type argument of '->' (have 'spinlock_t')
    #define lockdep_is_held(lock) lock_is_held(&(lock)->dep_map)
                                                      ^
   include/asm-generic/bug.h:86:25: note: in definition of macro 'WARN_ON'
     int __ret_warn_on = !!(condition);    \
                            ^
   include/linux/lockdep.h:366:27: note: in expansion of macro 'lockdep_is_held'
      WARN_ON(debug_locks && !lockdep_is_held(l)); \
                              ^
   kernel/cgroup_rdma.c:179:2: note: in expansion of macro 'lockdep_assert_held'
     lockdep_assert_held(cg->rpool_list_lock);
     ^

vim +340 include/linux/lockdep.h

7531e2f34 Peter Zijlstra 2008-08-11  334  			 int trylock, int read, int check,
7531e2f34 Peter Zijlstra 2008-08-11  335  			 struct lockdep_map *nest_lock, unsigned long ip);
fbb9ce953 Ingo Molnar    2006-07-03  336  
fbb9ce953 Ingo Molnar    2006-07-03  337  extern void lock_release(struct lockdep_map *lock, int nested,
fbb9ce953 Ingo Molnar    2006-07-03  338  			 unsigned long ip);
fbb9ce953 Ingo Molnar    2006-07-03  339  
f607c6685 Peter Zijlstra 2009-07-20 @340  #define lockdep_is_held(lock)	lock_is_held(&(lock)->dep_map)
f607c6685 Peter Zijlstra 2009-07-20  341  
f607c6685 Peter Zijlstra 2009-07-20  342  extern int lock_is_held(struct lockdep_map *lock);
f607c6685 Peter Zijlstra 2009-07-20  343  

:::::: The code at line 340 was first introduced by commit
:::::: f607c6685774811b8112e124f10a053d77015485 lockdep: Introduce lockdep_assert_held()

:::::: TO: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx>
:::::: CC: Ingo Molnar <mingo@xxxxxxx>

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

Attachment: .config.gz
Description: Binary data


[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux