* [morimoto-linux:fw-cleanup-2020-07-31-v1 31/81] sound/soc/soc-component.c:468:73: error: macro "soc_component_mark_match" passed 4 arguments, but takes just 3
@ 2020-07-31 6:26 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-07-31 6:26 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 3610 bytes --]
tree: https://github.com/morimoto/linux fw-cleanup-2020-07-31-v1
head: ce8d614de53ea39bec985f147c65ff8a2ebf887b
commit: 8ebc3b8d8756d0ec455de7ac42284b71ecd16407 [31/81] ASoC: soc-component: add mark for snd_soc_component_compr_open/free()
config: nios2-allyesconfig (attached as .config)
compiler: nios2-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 8ebc3b8d8756d0ec455de7ac42284b71ecd16407
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=nios2
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
sound/soc/soc-component.c: In function 'snd_soc_component_compr_free':
>> sound/soc/soc-component.c:468:73: error: macro "soc_component_mark_match" passed 4 arguments, but takes just 3
468 | if (!soc_component_mark_match(component, cstream, compr_open, rollback))
| ^
sound/soc/soc-component.c:43: note: macro "soc_component_mark_match" defined here
43 | #define soc_component_mark_match(component, substream, tgt) ((component)->mark_##tgt == substream)
|
>> sound/soc/soc-component.c:468:8: error: 'soc_component_mark_match' undeclared (first use in this function)
468 | if (!soc_component_mark_match(component, cstream, compr_open, rollback))
| ^~~~~~~~~~~~~~~~~~~~~~~~
sound/soc/soc-component.c:468:8: note: each undeclared identifier is reported only once for each function it appears in
--
sound/soc/soc-link.c: In function 'snd_soc_link_compr_shutdown':
>> sound/soc/soc-link.c:177:64: error: macro "soc_link_mark_match" passed 4 arguments, but takes just 3
177 | if (!soc_link_mark_match(rtd, cstream, compr_startup, rollback))
| ^
sound/soc/soc-link.c:39: note: macro "soc_link_mark_match" defined here
39 | #define soc_link_mark_match(rtd, substream, tgt) ((rtd)->mark_##tgt == substream)
|
>> sound/soc/soc-link.c:177:7: error: 'soc_link_mark_match' undeclared (first use in this function)
177 | if (!soc_link_mark_match(rtd, cstream, compr_startup, rollback))
| ^~~~~~~~~~~~~~~~~~~
sound/soc/soc-link.c:177:7: note: each undeclared identifier is reported only once for each function it appears in
vim +/soc_component_mark_match +468 sound/soc/soc-component.c
459
460 void snd_soc_component_compr_free(struct snd_compr_stream *cstream,
461 int rollback)
462 {
463 struct snd_soc_pcm_runtime *rtd = cstream->private_data;
464 struct snd_soc_component *component;
465 int i;
466
467 for_each_rtd_components(rtd, i, component) {
> 468 if (!soc_component_mark_match(component, cstream, compr_open, rollback))
469 continue;
470
471 if (component->driver->compress_ops &&
472 component->driver->compress_ops->free)
473 component->driver->compress_ops->free(component, cstream);
474
475 soc_component_mark_pop(component, cstream, compr_open);
476 }
477 }
478 EXPORT_SYMBOL_GPL(snd_soc_component_compr_free);
479
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 56615 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-07-31 6:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-31 6:26 [morimoto-linux:fw-cleanup-2020-07-31-v1 31/81] sound/soc/soc-component.c:468:73: error: macro "soc_component_mark_match" passed 4 arguments, but takes just 3 kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.