tree: https://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git for-linus head: d67e2d9faf366d5dee1da319b2bf51be8fcf1185 commit: 400db78afcdd03043103d4fb55eb15ee9996139b [5/22] s390/zcrypt: get rid of ap_poll_requests config: s390-gcov_defconfig (attached as .config) compiler: s390x-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705 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 400db78afcdd03043103d4fb55eb15ee9996139b # save the attached .config to linux build tree make.cross ARCH=s390 Note: the s390/for-linus HEAD d67e2d9faf366d5dee1da319b2bf51be8fcf1185 builds fine. It only hurts bisectibility. All error/warnings (new ones prefixed by >>): drivers/s390/crypto/ap_bus.c: In function 'ap_pending_requests': >> drivers/s390/crypto/ap_bus.c:801:17: error: 'ap_queue_device_list_lock' undeclared (first use in this function) spin_lock_bh(&ap_queue_device_list_lock[id]); ^~~~~~~~~~~~~~~~~~~~~~~~~ drivers/s390/crypto/ap_bus.c:801:17: note: each undeclared identifier is reported only once for each function it appears in In file included from include/linux/list.h:8:0, from include/linux/smp.h:11, from include/linux/kernel_stat.h:4, from drivers/s390/crypto/ap_bus.c:29: >> drivers/s390/crypto/ap_bus.c:802:32: error: 'ap_queue_device_list' undeclared (first use in this function) list_for_each_entry(ap_dev, &ap_queue_device_list[id], list) { ^ include/linux/kernel.h:841:49: note: in definition of macro 'container_of' const typeof( ((type *)0)->member ) *__mptr = (ptr); \ ^~~ include/linux/list.h:376:2: note: in expansion of macro 'list_entry' list_entry((ptr)->next, type, member) ^~~~~~~~~~ include/linux/list.h:463:13: note: in expansion of macro 'list_first_entry' for (pos = list_first_entry(head, typeof(*pos), member); \ ^~~~~~~~~~~~~~~~ >> drivers/s390/crypto/ap_bus.c:802:3: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(ap_dev, &ap_queue_device_list[id], list) { ^~~~~~~~~~~~~~~~~~~ In file included from include/linux/atomic.h:4:0, from include/linux/llist.h:58, from include/linux/smp.h:14, from include/linux/kernel_stat.h:4, from drivers/s390/crypto/ap_bus.c:29: drivers/s390/crypto/ap_bus.c: In function 'ap_device_remove': >> drivers/s390/crypto/ap_bus.c:1288:35: error: 'ap_poll_requests' undeclared (first use in this function) atomic_sub(ap_dev->queue_count, &ap_poll_requests); ^ arch/s390/include/asm/atomic.h:61:52: note: in definition of macro 'atomic_sub' #define atomic_sub(_i, _v) atomic_add(-(int)(_i), _v) ^~ vim +/ap_queue_device_list_lock +801 drivers/s390/crypto/ap_bus.c 795 static int ap_pending_requests(void) 796 { 797 struct ap_device *ap_dev; 798 int id, pending = 0; 799 800 for (id = 0; pending == 0 && id < AP_DEVICES; id++) { > 801 spin_lock_bh(&ap_queue_device_list_lock[id]); > 802 list_for_each_entry(ap_dev, &ap_queue_device_list[id], list) { 803 spin_lock_bh(&ap_dev->lock); 804 if (ap_dev->queue_count) 805 pending = 1; --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip