* [arnd-playground:config-gpio-legacy-7.1 22/22] sound/soc/pxa/pxa2xx-pcm.c:21:27: error: 'pxa2xx_soc_pcm_new' undeclared here (not in a function)
@ 2026-04-26 12:35 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-04-26 12:35 UTC (permalink / raw)
To: Arnd Bergmann; +Cc: oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/arnd/playground.git config-gpio-legacy-7.1
head: bbb302c86fdfa7705d8511a74c4b6db205cd2683
commit: bbb302c86fdfa7705d8511a74c4b6db205cd2683 [22/22] ASoC: pxa: integrate sound/arm/pxa2xx into sound/soc/pxa2xx
config: m68k-allmodconfig (https://download.01.org/0day-ci/archive/20260426/202604262007.ONssWsxR-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 15.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260426/202604262007.ONssWsxR-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202604262007.ONssWsxR-lkp@intel.com/
All error/warnings (new ones prefixed by >>):
>> sound/soc/pxa/pxa2xx-pcm.c:21:27: error: 'pxa2xx_soc_pcm_new' undeclared here (not in a function)
21 | .pcm_construct = pxa2xx_soc_pcm_new,
| ^~~~~~~~~~~~~~~~~~
>> sound/soc/pxa/pxa2xx-pcm.c:22:27: error: 'pxa2xx_soc_pcm_open' undeclared here (not in a function)
22 | .open = pxa2xx_soc_pcm_open,
| ^~~~~~~~~~~~~~~~~~~
>> sound/soc/pxa/pxa2xx-pcm.c:23:27: error: 'pxa2xx_soc_pcm_close' undeclared here (not in a function)
23 | .close = pxa2xx_soc_pcm_close,
| ^~~~~~~~~~~~~~~~~~~~
>> sound/soc/pxa/pxa2xx-pcm.c:24:27: error: 'pxa2xx_soc_pcm_hw_params' undeclared here (not in a function)
24 | .hw_params = pxa2xx_soc_pcm_hw_params,
| ^~~~~~~~~~~~~~~~~~~~~~~~
>> sound/soc/pxa/pxa2xx-pcm.c:25:27: error: 'pxa2xx_soc_pcm_prepare' undeclared here (not in a function)
25 | .prepare = pxa2xx_soc_pcm_prepare,
| ^~~~~~~~~~~~~~~~~~~~~~
>> sound/soc/pxa/pxa2xx-pcm.c:26:27: error: 'pxa2xx_soc_pcm_trigger' undeclared here (not in a function); did you mean 'snd_soc_dpcm_trigger'?
26 | .trigger = pxa2xx_soc_pcm_trigger,
| ^~~~~~~~~~~~~~~~~~~~~~
| snd_soc_dpcm_trigger
>> sound/soc/pxa/pxa2xx-pcm.c:27:27: error: 'pxa2xx_soc_pcm_pointer' undeclared here (not in a function)
27 | .pointer = pxa2xx_soc_pcm_pointer,
| ^~~~~~~~~~~~~~~~~~~~~~
--
>> sound/soc/pxa/pxa2xx-pcm-lib.c:60:8: error: return type defaults to 'int' [-Wimplicit-int]
60 | static pxa2xx_pcm_trigger(struct snd_pcm_substream *substream, int cmd)
| ^~~~~~~~~~~~~~~~~~
>> sound/soc/pxa/pxa2xx-pcm-lib.c:127:5: warning: no previous prototype for 'pxa2xx_soc_pcm_new' [-Wmissing-prototypes]
127 | int pxa2xx_soc_pcm_new(struct snd_soc_component *component,
| ^~~~~~~~~~~~~~~~~~
>> sound/soc/pxa/pxa2xx-pcm-lib.c:142:5: warning: no previous prototype for 'pxa2xx_soc_pcm_open' [-Wmissing-prototypes]
142 | int pxa2xx_soc_pcm_open(struct snd_soc_component *component,
| ^~~~~~~~~~~~~~~~~~~
>> sound/soc/pxa/pxa2xx-pcm-lib.c:149:5: warning: no previous prototype for 'pxa2xx_soc_pcm_close' [-Wmissing-prototypes]
149 | int pxa2xx_soc_pcm_close(struct snd_soc_component *component,
| ^~~~~~~~~~~~~~~~~~~~
>> sound/soc/pxa/pxa2xx-pcm-lib.c:156:5: warning: no previous prototype for 'pxa2xx_soc_pcm_hw_params' [-Wmissing-prototypes]
156 | int pxa2xx_soc_pcm_hw_params(struct snd_soc_component *component,
| ^~~~~~~~~~~~~~~~~~~~~~~~
>> sound/soc/pxa/pxa2xx-pcm-lib.c:164:5: warning: no previous prototype for 'pxa2xx_soc_pcm_prepare' [-Wmissing-prototypes]
164 | int pxa2xx_soc_pcm_prepare(struct snd_soc_component *component,
| ^~~~~~~~~~~~~~~~~~~~~~
>> sound/soc/pxa/pxa2xx-pcm-lib.c:171:5: warning: no previous prototype for 'pxa2xx_soc_pcm_trigger' [-Wmissing-prototypes]
171 | int pxa2xx_soc_pcm_trigger(struct snd_soc_component *component,
| ^~~~~~~~~~~~~~~~~~~~~~
>> sound/soc/pxa/pxa2xx-pcm-lib.c:179:1: warning: no previous prototype for 'pxa2xx_soc_pcm_pointer' [-Wmissing-prototypes]
179 | pxa2xx_soc_pcm_pointer(struct snd_soc_component *component,
| ^~~~~~~~~~~~~~~~~~~~~~
vim +/pxa2xx_soc_pcm_new +21 sound/soc/pxa/pxa2xx-pcm.c
f11a96d5cd9420 Liam Girdwood 2006-10-12 19
0717e66f404123 Kuninori Morimoto 2018-01-29 20 static const struct snd_soc_component_driver pxa2xx_soc_platform = {
f8772e17def204 Kuninori Morimoto 2019-10-02 @21 .pcm_construct = pxa2xx_soc_pcm_new,
f8772e17def204 Kuninori Morimoto 2019-10-02 @22 .open = pxa2xx_soc_pcm_open,
f8772e17def204 Kuninori Morimoto 2019-10-02 @23 .close = pxa2xx_soc_pcm_close,
f8772e17def204 Kuninori Morimoto 2019-10-02 @24 .hw_params = pxa2xx_soc_pcm_hw_params,
f8772e17def204 Kuninori Morimoto 2019-10-02 @25 .prepare = pxa2xx_soc_pcm_prepare,
f8772e17def204 Kuninori Morimoto 2019-10-02 @26 .trigger = pxa2xx_soc_pcm_trigger,
f8772e17def204 Kuninori Morimoto 2019-10-02 @27 .pointer = pxa2xx_soc_pcm_pointer,
f11a96d5cd9420 Liam Girdwood 2006-10-12 28 };
f11a96d5cd9420 Liam Girdwood 2006-10-12 29
:::::: The code at line 21 was first introduced by commit
:::::: f8772e17def20470f94bd1d6e1cf24badb2611de ASoC: pxa: remove snd_pcm_ops
:::::: TO: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
:::::: CC: Mark Brown <broonie@kernel.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-04-26 12:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-26 12:35 [arnd-playground:config-gpio-legacy-7.1 22/22] sound/soc/pxa/pxa2xx-pcm.c:21:27: error: 'pxa2xx_soc_pcm_new' undeclared here (not in a function) 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.