Re: [PATCH] s390/oprofile: Remove deprecated create_workqueue

kbuild test robot <[email protected]>
Newsgroups gmane.linux.kernel,gmane.linux.oprofile
Message-ID <201606080713.DRtAiktL%[email protected]>
Hi,

[auto build test ERROR on s390/features]
[also build test ERROR on v4.7-rc2 next-20160607]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Bhaktipriya-Shridhar/s390-oprofile-Remove-deprecated-create_workqueue/20160608-060615
base:   https://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git features
config: s390-default_defconfig (attached as .config)
compiler: s390x-linux-gnu-gcc (Debian 5.3.1-8) 5.3.1 20160205
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
        # save the attached .config to linux build tree
        make.cross ARCH=s390 

All errors (new ones prefixed by >>):

   arch/s390/oprofile/hwsampler.c: In function 'hwsampler_stop_all':
>> arch/s390/oprofile/hwsampler.c:1151:6: error: 'hws_wq' undeclared (first use in this function)
     if (hws_wq)
         ^
   arch/s390/oprofile/hwsampler.c:1151:6: note: each undeclared identifier is reported only once for each function it appears in

vim +/hws_wq +1151 arch/s390/oprofile/hwsampler.c

ec6a3df1 Heinz Graalfs 2011-01-21  1145  		cb->stop_mode = 1;
ec6a3df1 Heinz Graalfs 2011-01-21  1146  		tmp_rc = stop_sampling(cpu);
ec6a3df1 Heinz Graalfs 2011-01-21  1147  		if (tmp_rc)
ec6a3df1 Heinz Graalfs 2011-01-21  1148  			rc = tmp_rc;
ec6a3df1 Heinz Graalfs 2011-01-21  1149  	}
ec6a3df1 Heinz Graalfs 2011-01-21  1150  
ec6a3df1 Heinz Graalfs 2011-01-21 @1151  	if (hws_wq)
ec6a3df1 Heinz Graalfs 2011-01-21  1152  		flush_workqueue(hws_wq);
ec6a3df1 Heinz Graalfs 2011-01-21  1153  
ec6a3df1 Heinz Graalfs 2011-01-21  1154  	mutex_lock(&hws_sem);

:::::: The code at line 1151 was first introduced by commit
:::::: ec6a3df1c008d9e8664e53b0363f6847c5c0dc3f oprofile, s390: Add support for hardware based sampling on System z processors

:::::: TO: Heinz Graalfs <[email protected]>
:::::: CC: Robert Richter <[email protected]>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
.config.gz (application/octet-stream, 15.7 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.