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:   Mon, 24 Apr 2017 02:56:16 +0800
From:   kbuild test robot <fengguang.wu@...el.com>
To:     "Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>
Cc:     kbuild-all@...org, linux-kernel@...r.kernel.org
Subject: [rcu:rcu/urgent 11/11] include/linux/kvm_host.h:430:21: error: field
 'srcu' has incomplete type

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git rcu/urgent
head:   746ec1f689abc74dca72fdce4134decdbfaec295
commit: 746ec1f689abc74dca72fdce4134decdbfaec295 [11/11] srcu: Fix Kconfig botch when SRCU not selected
config: s390-allnoconfig (attached as .config)
compiler: s390x-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 746ec1f689abc74dca72fdce4134decdbfaec295
        # save the attached .config to linux build tree
        make.cross ARCH=s390 

All errors (new ones prefixed by >>):

   In file included from include/linux/notifier.h:15:0,
                    from include/linux/memory_hotplug.h:6,
                    from include/linux/mmzone.h:749,
                    from include/linux/gfp.h:5,
                    from include/linux/mm.h:9,
                    from include/linux/kvm_host.h:17,
                    from arch/s390/kernel/asm-offsets.c:10:
   include/linux/srcu.h:66:2: error: #error "Unknown SRCU implementation specified to kernel configuration"
    #error "Unknown SRCU implementation specified to kernel configuration"
     ^~~~~
   In file included from include/linux/memory_hotplug.h:6:0,
                    from include/linux/mmzone.h:749,
                    from include/linux/gfp.h:5,
                    from include/linux/mm.h:9,
                    from include/linux/kvm_host.h:17,
                    from arch/s390/kernel/asm-offsets.c:10:
   include/linux/notifier.h:77:21: error: field 'srcu' has incomplete type
     struct srcu_struct srcu;
                        ^~~~
   In file included from arch/s390/kernel/asm-offsets.c:10:0:
>> include/linux/kvm_host.h:430:21: error: field 'srcu' has incomplete type
     struct srcu_struct srcu;
                        ^~~~
>> include/linux/kvm_host.h:431:21: error: field 'irq_srcu' has incomplete type
     struct srcu_struct irq_srcu;
                        ^~~~~~~~
   make[2]: *** [arch/s390/kernel/asm-offsets.s] Error 1
   make[2]: Target '__build' not remade because of errors.
   make[1]: *** [prepare0] Error 2
   make[1]: Target 'prepare' not remade because of errors.
   make: *** [sub-make] Error 2

vim +/srcu +430 include/linux/kvm_host.h

e930bffe include/linux/kvm_host.h Andrea Arcangeli 2008-07-25  424  	long mmu_notifier_count;
e930bffe include/linux/kvm_host.h Andrea Arcangeli 2008-07-25  425  #endif
a086f6a1 include/linux/kvm_host.h Xiao Guangrong   2014-04-17  426  	long tlbs_dirty;
07f0a7bd include/linux/kvm_host.h Scott Wood       2013-04-25  427  	struct list_head devices;
536a6f88 include/linux/kvm_host.h Janosch Frank    2016-05-18  428  	struct dentry *debugfs_dentry;
536a6f88 include/linux/kvm_host.h Janosch Frank    2016-05-18  429  	struct kvm_stat_data **debugfs_stat_data;
6ade8694 include/linux/kvm_host.h Paul E. McKenney 2017-04-20 @430  	struct srcu_struct srcu;
6ade8694 include/linux/kvm_host.h Paul E. McKenney 2017-04-20 @431  	struct srcu_struct irq_srcu;
6aa8b732 drivers/kvm/kvm.h        Avi Kivity       2006-12-10  432  };
6aa8b732 drivers/kvm/kvm.h        Avi Kivity       2006-12-10  433  
a737f256 include/linux/kvm_host.h Christoffer Dall 2012-06-03  434  #define kvm_err(fmt, ...) \

:::::: The code at line 430 was first introduced by commit
:::::: 6ade8694f471d847500c7cec152cc15171cef5d5 kvm: Move srcu_struct fields to end of struct kvm

:::::: TO: Paul E. McKenney <paulmck@...ux.vnet.ibm.com>
:::::: CC: Paul E. McKenney <paulmck@...ux.vnet.ibm.com>

---
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" (5160 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ