lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Thu, 2 Feb 2017 20:39:55 +0800
From:   kbuild test robot <fengguang.wu@...el.com>
To:     Ingo Molnar <mingo@...nel.org>
Cc:     kbuild-all@...org, linux-kernel@...r.kernel.org, tipbuild@...or.com
Subject: [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'

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@...il.com>
:::::: CC: Greg Kroah-Hartman <gregkh@...uxfoundation.org>

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

Download attachment ".config.gz" of type "application/gzip" (45838 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ