Re: [PATCH] spi: spi-topcliff-pch: Remove deprecated create_singlethread_workqueue

From: kbuild test robot
Date: Sat Jul 02 2016 - 08:20:43 EST


Hi,

[auto build test WARNING on spi/for-next]
[also build test WARNING on v4.7-rc5 next-20160701]
[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/spi-spi-topcliff-pch-Remove-deprecated-create_singlethread_workqueue/20160702-191734
base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next
config: ia64-allmodconfig (attached as .config)
compiler: ia64-linux-gcc (GCC) 4.9.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
# save the attached .config to linux build tree
make.cross ARCH=ia64

All warnings (new ones prefixed by >>):

drivers/spi/spi-topcliff-pch.c: In function 'pch_spi_get_resources':
>> drivers/spi/spi-topcliff-pch.c:1283:1: warning: label 'err_return' defined but not used [-Wunused-label]
err_return:
^

vim +/err_return +1283 drivers/spi/spi-topcliff-pch.c

e8b17b5b drivers/spi/spi_topcliff_pch.c Masayuki Ohtake 2010-10-08 1267
f016aeb6 drivers/spi/spi-topcliff-pch.c Tomoya MORINAGA 2011-06-07 1268 static int pch_spi_get_resources(struct pch_spi_board_data *board_dat,
f016aeb6 drivers/spi/spi-topcliff-pch.c Tomoya MORINAGA 2011-06-07 1269 struct pch_spi_data *data)
e8b17b5b drivers/spi/spi_topcliff_pch.c Masayuki Ohtake 2010-10-08 1270 {
f016aeb6 drivers/spi/spi-topcliff-pch.c Tomoya MORINAGA 2011-06-07 1271 int retval = 0;
f016aeb6 drivers/spi/spi-topcliff-pch.c Tomoya MORINAGA 2011-06-07 1272
e8b17b5b drivers/spi/spi_topcliff_pch.c Masayuki Ohtake 2010-10-08 1273 dev_dbg(&board_dat->pdev->dev, "%s ENTRY\n", __func__);
e8b17b5b drivers/spi/spi_topcliff_pch.c Masayuki Ohtake 2010-10-08 1274
e8b17b5b drivers/spi/spi_topcliff_pch.c Masayuki Ohtake 2010-10-08 1275
e8b17b5b drivers/spi/spi_topcliff_pch.c Masayuki Ohtake 2010-10-08 1276 /* reset PCH SPI h/w */
f016aeb6 drivers/spi/spi-topcliff-pch.c Tomoya MORINAGA 2011-06-07 1277 pch_spi_reset(data->master);
e8b17b5b drivers/spi/spi_topcliff_pch.c Masayuki Ohtake 2010-10-08 1278 dev_dbg(&board_dat->pdev->dev,
e8b17b5b drivers/spi/spi_topcliff_pch.c Masayuki Ohtake 2010-10-08 1279 "%s pch_spi_reset invoked successfully\n", __func__);
e8b17b5b drivers/spi/spi_topcliff_pch.c Masayuki Ohtake 2010-10-08 1280
65308c46 drivers/spi/spi_topcliff_pch.c Grant Likely 2010-09-29 1281 dev_dbg(&board_dat->pdev->dev, "%s data->irq_reg_sts=true\n", __func__);
e8b17b5b drivers/spi/spi_topcliff_pch.c Masayuki Ohtake 2010-10-08 1282
e8b17b5b drivers/spi/spi_topcliff_pch.c Masayuki Ohtake 2010-10-08 @1283 err_return:
e8b17b5b drivers/spi/spi_topcliff_pch.c Masayuki Ohtake 2010-10-08 1284 if (retval != 0) {
e8b17b5b drivers/spi/spi_topcliff_pch.c Masayuki Ohtake 2010-10-08 1285 dev_err(&board_dat->pdev->dev,
e8b17b5b drivers/spi/spi_topcliff_pch.c Masayuki Ohtake 2010-10-08 1286 "%s FAIL:invoking pch_spi_free_resources\n", __func__);
f016aeb6 drivers/spi/spi-topcliff-pch.c Tomoya MORINAGA 2011-06-07 1287 pch_spi_free_resources(board_dat, data);
e8b17b5b drivers/spi/spi_topcliff_pch.c Masayuki Ohtake 2010-10-08 1288 }
e8b17b5b drivers/spi/spi_topcliff_pch.c Masayuki Ohtake 2010-10-08 1289
e8b17b5b drivers/spi/spi_topcliff_pch.c Masayuki Ohtake 2010-10-08 1290 dev_dbg(&board_dat->pdev->dev, "%s Return=%d\n", __func__, retval);
e8b17b5b drivers/spi/spi_topcliff_pch.c Masayuki Ohtake 2010-10-08 1291

:::::: The code at line 1283 was first introduced by commit
:::::: e8b17b5b3f30252b5470dbbf54bc251ddc7fac17 spi/topcliff: Add topcliff platform controller hub (PCH) spi bus driver

:::::: TO: Masayuki Ohtake <masa-korg@xxxxxxxxxxxxxxx>
:::::: CC: Grant Likely <grant.likely@xxxxxxxxxxxx>

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

Attachment: .config.gz
Description: Binary data