Re: [PATCH v2] ASoC: Remove deprecated create_singlethread_workqueue

From: kbuild test robot
Date: Tue Aug 30 2016 - 14:57:53 EST


Hi Bhaktipriya,

[auto build test ERROR on asoc/for-next]
[also build test ERROR on v4.8-rc4 next-20160825]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
[Suggest to use git(>=2.9.0) format-patch --base=<commit> (or --base=auto for convenience) to record what (public, well-known) commit your patch series was built on]
[Check https://git-scm.com/docs/git-format-patch for more information]

url: https://github.com/0day-ci/linux/commits/Bhaktipriya-Shridhar/ASoC-tlv320dac33-Remove-deprecated-create_singlethread_workqueue/20160831-023349
base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
config: x86_64-allmodconfig (attached as .config)
compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64

All errors (new ones prefixed by >>):

sound/soc/intel/atom/sst/sst.c: In function 'intel_sst_suspend':
>> sound/soc/intel/atom/sst/sst.c:446:13: error: incompatible type for argument 1 of 'flush_work'
flush_work(ctx->ipc_post_msg_wq);
^~~
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:777,
from include/linux/gfp.h:5,
from include/linux/kmod.h:22,
from include/linux/module.h:13,
from sound/soc/intel/atom/sst/sst.c:22:
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 +446 sound/soc/intel/atom/sst/sst.c

440 dev_err(dev, "stream %d is running, cant susupend, abort\n", i);
441 return -EBUSY;
442 }
443 }
444
445 synchronize_irq(ctx->irq_num);
> 446 flush_work(ctx->ipc_post_msg_wq);
447
448 /* Move the SST state to Reset */
449 sst_set_fw_state_locked(ctx, SST_RESET);

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

Attachment: .config.gz
Description: Binary data