Re: [PATCH v4 2/2] ASoC: Intel: Remove deprecated create_singlethread_workqueue

From: kbuild test robot
Date: Sun Sep 04 2016 - 12:38:14 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/20160904-235837
base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
config: i386-randconfig-x017-201636 (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=i386

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:445:15: 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 +445 sound/soc/intel/atom/sst/sst.c

439 if (stream->status == STREAM_RUNNING) {
440 dev_err(dev, "stream %d is running, can't suspend, abort\n", i);
441 return -EBUSY;
442 }
443 }
444 synchronize_irq(ctx->irq_num);
> 445 flush_work(ctx->ipc_post_msg_wq);
446
447 /* Move the SST state to Reset */
448 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