All of lore.kernel.org
 help / color / mirror / Atom feed
* [tip:WIP.sched/core 101/114] drivers/staging/lustre/lnet/libcfs/linux/linux-prim.c:51:37: error: dereferencing pointer to incomplete type 'struct sighand_struct'
@ 2017-02-02 12:39 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2017-02-02 12:39 UTC (permalink / raw)
  To: Ingo Molnar; +Cc: kbuild-all, linux-kernel, tipbuild

[-- Attachment #1: Type: text/plain, Size: 5526 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.sched/core
head:   a7fd62a2a53e181668849e0cb7262c69fd40f985
commit: 4062c957804a9f2d7eb7e2bfa5850e3efa55c944 [101/114] sched/headers, signals: Separate out task_struct::signal and task_struct::sighand types and accessors into <linux/sched/signal.h>
config: ia64-allmodconfig (attached as .config)
compiler: ia64-linux-gcc (GCC) 6.2.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 4062c957804a9f2d7eb7e2bfa5850e3efa55c944
        # save the attached .config to linux build tree
        make.cross ARCH=ia64 

All error/warnings (new ones prefixed by >>):

   In file included from include/linux/seqlock.h:35:0,
                    from include/linux/time.h:5,
                    from include/linux/stat.h:18,
                    from include/linux/module.h:10,
                    from drivers/staging/lustre/lnet/libcfs/linux/linux-prim.c:34:
   drivers/staging/lustre/lnet/libcfs/linux/linux-prim.c: In function 'cfs_block_allsigs':
>> drivers/staging/lustre/lnet/libcfs/linux/linux-prim.c:51:37: error: dereferencing pointer to incomplete type 'struct sighand_struct'
     spin_lock_irqsave(&current->sighand->siglock, flags);
                                        ^
   include/linux/spinlock.h:205:34: note: in definition of macro 'raw_spin_lock_irqsave'
      flags = _raw_spin_lock_irqsave(lock); \
                                     ^~~~
>> drivers/staging/lustre/lnet/libcfs/linux/linux-prim.c:51:2: note: in expansion of macro 'spin_lock_irqsave'
     spin_lock_irqsave(&current->sighand->siglock, flags);
     ^~~~~~~~~~~~~~~~~

vim +51 drivers/staging/lustre/lnet/libcfs/linux/linux-prim.c

d7e09d039 drivers/staging/lustre/lustre/libcfs/linux/linux-prim.c Peng Tao           2013-05-02  28  /*
d7e09d039 drivers/staging/lustre/lustre/libcfs/linux/linux-prim.c Peng Tao           2013-05-02  29   * This file is part of Lustre, http://www.lustre.org/
d7e09d039 drivers/staging/lustre/lustre/libcfs/linux/linux-prim.c Peng Tao           2013-05-02  30   * Lustre is a trademark of Sun Microsystems, Inc.
d7e09d039 drivers/staging/lustre/lustre/libcfs/linux/linux-prim.c Peng Tao           2013-05-02  31   */
d7e09d039 drivers/staging/lustre/lustre/libcfs/linux/linux-prim.c Peng Tao           2013-05-02  32  
d7e09d039 drivers/staging/lustre/lustre/libcfs/linux/linux-prim.c Peng Tao           2013-05-02  33  #define DEBUG_SUBSYSTEM S_LNET
d7e09d039 drivers/staging/lustre/lustre/libcfs/linux/linux-prim.c Peng Tao           2013-05-02 @34  #include <linux/module.h>
d7e09d039 drivers/staging/lustre/lustre/libcfs/linux/linux-prim.c Peng Tao           2013-05-02  35  #include <linux/kernel.h>
d7e09d039 drivers/staging/lustre/lustre/libcfs/linux/linux-prim.c Peng Tao           2013-05-02  36  #include <linux/fs_struct.h>
d7e09d039 drivers/staging/lustre/lustre/libcfs/linux/linux-prim.c Peng Tao           2013-05-02  37  #include <linux/sched.h>
d7e09d039 drivers/staging/lustre/lustre/libcfs/linux/linux-prim.c Peng Tao           2013-05-02  38  
9fdaf8c0b drivers/staging/lustre/lustre/libcfs/linux/linux-prim.c Greg Kroah-Hartman 2014-07-11  39  #include "../../../include/linux/libcfs/libcfs.h"
d7e09d039 drivers/staging/lustre/lustre/libcfs/linux/linux-prim.c Peng Tao           2013-05-02  40  
d7e09d039 drivers/staging/lustre/lustre/libcfs/linux/linux-prim.c Peng Tao           2013-05-02  41  #if defined(CONFIG_KGDB)
e8fd99fd9 drivers/staging/lustre/lustre/libcfs/linux/linux-prim.c Asaf Vertz         2015-02-09  42  #include <linux/kgdb.h>
d7e09d039 drivers/staging/lustre/lustre/libcfs/linux/linux-prim.c Peng Tao           2013-05-02  43  #endif
d7e09d039 drivers/staging/lustre/lustre/libcfs/linux/linux-prim.c Peng Tao           2013-05-02  44  
d7e09d039 drivers/staging/lustre/lustre/libcfs/linux/linux-prim.c Peng Tao           2013-05-02  45  sigset_t
d7e09d039 drivers/staging/lustre/lustre/libcfs/linux/linux-prim.c Peng Tao           2013-05-02  46  cfs_block_allsigs(void)
d7e09d039 drivers/staging/lustre/lustre/libcfs/linux/linux-prim.c Peng Tao           2013-05-02  47  {
d7e09d039 drivers/staging/lustre/lustre/libcfs/linux/linux-prim.c Peng Tao           2013-05-02  48  	unsigned long flags;
d7e09d039 drivers/staging/lustre/lustre/libcfs/linux/linux-prim.c Peng Tao           2013-05-02  49  	sigset_t old;
d7e09d039 drivers/staging/lustre/lustre/libcfs/linux/linux-prim.c Peng Tao           2013-05-02  50  
46ffc9343 drivers/staging/lustre/lustre/libcfs/linux/linux-prim.c James Simmons      2014-09-09 @51  	spin_lock_irqsave(&current->sighand->siglock, flags);
d7e09d039 drivers/staging/lustre/lustre/libcfs/linux/linux-prim.c Peng Tao           2013-05-02  52  	old = current->blocked;
d7e09d039 drivers/staging/lustre/lustre/libcfs/linux/linux-prim.c Peng Tao           2013-05-02  53  	sigfillset(&current->blocked);
d7e09d039 drivers/staging/lustre/lustre/libcfs/linux/linux-prim.c Peng Tao           2013-05-02  54  	recalc_sigpending();

:::::: The code at line 51 was first introduced by commit
:::::: 46ffc934385860a127c04010f5f3ee225e06b87b staging/lustre: remove portals_compat25.h

:::::: TO: James Simmons <uja.ornl@gmail.com>
:::::: CC: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 45838 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-02-02 12:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-02 12:39 [tip:WIP.sched/core 101/114] drivers/staging/lustre/lnet/libcfs/linux/linux-prim.c:51:37: error: dereferencing pointer to incomplete type 'struct sighand_struct' kbuild test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.