Re: [PATCH] spi: spi-sh: Remove deprecated create_singlethread_workqueue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

[auto build test ERROR on spi/for-next]
[also build test ERROR 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-sh-Remove-deprecated-create_singlethread_workqueue/20160702-164813
base:   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next
config: x86_64-allmodconfig (attached as .config)
compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   drivers/spi/spi-sh.c: In function 'spi_sh_remove':
>> drivers/spi/spi-sh.c:427:13: error: incompatible type for argument 1 of 'flush_work'
     flush_work(ss->ws);
                ^~
   In file included from include/linux/srcu.h:34:0,
                    from include/linux/notifier.h:15,
                    from include/linux/memory_hotplug.h:6,
                    from include/linux/mmzone.h:737,
                    from include/linux/gfp.h:5,
                    from include/linux/kmod.h:22,
                    from include/linux/module.h:13,
                    from drivers/spi/spi-sh.c:19:
   include/linux/workqueue.h:444:13: note: expected 'struct work_struct *' but argument is of type 'struct work_struct'
    extern bool flush_work(struct work_struct *work);
                ^~~~~~~~~~

vim +/flush_work +427 drivers/spi/spi-sh.c

   421	
   422	static int spi_sh_remove(struct platform_device *pdev)
   423	{
   424		struct spi_sh_data *ss = platform_get_drvdata(pdev);
   425	
   426		spi_unregister_master(ss->master);
 > 427		flush_work(ss->ws);
   428		free_irq(ss->irq, ss);
   429	
   430		return 0;

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

Attachment: .config.gz
Description: Binary data


[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux