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>] [thread-next>] [day] [month] [year] [list]
Message-ID: <202003220209.CjthuGEA%lkp@intel.com>
Date:   Sun, 22 Mar 2020 02:11:21 +0800
From:   kbuild test robot <lkp@...el.com>
To:     "Peter Zijlstra (Intel)" <peterz@...radead.org>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        x86@...nel.org, Thomas Gleixner <tglx@...utronix.de>
Subject: [tip:locking/core 19/28] include/linux/fs.h:1422:29: error: array
 type has incomplete element type 'struct percpu_rw_semaphore'

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git locking/core
head:   d53f2b62fcb63f6547c10d8c62bca19e957b0eef
commit: 80fbaf1c3f2926c834f8ca915441dfe27ce5487e [19/28] rcuwait: Add @state argument to rcuwait_wait_event()
config: m68k-m5275evb_defconfig (attached as .config)
compiler: m68k-linux-gcc (GCC) 9.2.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 80fbaf1c3f2926c834f8ca915441dfe27ce5487e
        # save the attached .config to linux build tree
        GCC_VERSION=9.2.0 make.cross ARCH=m68k 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@...el.com>

All errors (new ones prefixed by >>):

   In file included from include/linux/huge_mm.h:8,
                    from include/linux/mm.h:567,
                    from arch/m68k/include/asm/uaccess_no.h:8,
                    from arch/m68k/include/asm/uaccess.h:3,
                    from include/linux/uaccess.h:11,
                    from include/linux/sched/task.h:11,
                    from include/linux/sched/signal.h:9,
                    from include/linux/rcuwait.h:6,
                    from include/linux/percpu-rwsem.h:7,
                    from kernel/locking/percpu-rwsem.c:6:
>> include/linux/fs.h:1422:29: error: array type has incomplete element type 'struct percpu_rw_semaphore'
    1422 |  struct percpu_rw_semaphore rw_sem[SB_FREEZE_LEVELS];
         |                             ^~~~~~

vim +1422 include/linux/fs.h

5accdf82ba25ca Jan Kara      2012-06-12  1418  
5accdf82ba25ca Jan Kara      2012-06-12  1419  struct sb_writers {
5accdf82ba25ca Jan Kara      2012-06-12  1420  	int				frozen;		/* Is sb frozen? */
8129ed29644bf5 Oleg Nesterov 2015-08-11  1421  	wait_queue_head_t		wait_unfrozen;	/* for get_super_thawed() */
8129ed29644bf5 Oleg Nesterov 2015-08-11 @1422  	struct percpu_rw_semaphore	rw_sem[SB_FREEZE_LEVELS];
5accdf82ba25ca Jan Kara      2012-06-12  1423  };
5accdf82ba25ca Jan Kara      2012-06-12  1424  

:::::: The code at line 1422 was first introduced by commit
:::::: 8129ed29644bf56ed17ec1bbbeed5c568b43d6a0 change sb_writers to use percpu_rw_semaphore

:::::: TO: Oleg Nesterov <oleg@...hat.com>
:::::: CC: Oleg Nesterov <oleg@...hat.com>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ