Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Arnd Bergmann <arnd@arndb.de>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: [arnd-playground:config-gpio-legacy-7.1 22/22] sound/soc/pxa/pxa2xx-pcm.c:21:19: error: use of undeclared identifier 'pxa2xx_soc_pcm_new'
Date: Mon, 27 Apr 2026 19:04:13 +0800	[thread overview]
Message-ID: <202604271842.4gvTibgw-lkp@intel.com> (raw)

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: s390-allmodconfig (https://download.01.org/0day-ci/archive/20260427/202604271842.4gvTibgw-lkp@intel.com/config)
compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260427/202604271842.4gvTibgw-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/202604271842.4gvTibgw-lkp@intel.com/

All error/warnings (new ones prefixed by >>):

>> sound/soc/pxa/pxa2xx-pcm.c:21:19: error: use of undeclared identifier 'pxa2xx_soc_pcm_new'
      21 |         .pcm_construct  = pxa2xx_soc_pcm_new,
         |                           ^
>> sound/soc/pxa/pxa2xx-pcm.c:22:11: error: use of undeclared identifier 'pxa2xx_soc_pcm_open'; did you mean 'pxa2xx_soc_platform'?
      22 |         .open           = pxa2xx_soc_pcm_open,
         |                           ^~~~~~~~~~~~~~~~~~~
         |                           pxa2xx_soc_platform
   sound/soc/pxa/pxa2xx-pcm.c:20:46: note: 'pxa2xx_soc_platform' declared here
      20 | static const struct snd_soc_component_driver pxa2xx_soc_platform = {
         |                                              ^
>> sound/soc/pxa/pxa2xx-pcm.c:23:12: error: use of undeclared identifier 'pxa2xx_soc_pcm_close'; did you mean 'pxa2xx_soc_platform'?
      23 |         .close          = pxa2xx_soc_pcm_close,
         |                           ^~~~~~~~~~~~~~~~~~~~
         |                           pxa2xx_soc_platform
   sound/soc/pxa/pxa2xx-pcm.c:20:46: note: 'pxa2xx_soc_platform' declared here
      20 | static const struct snd_soc_component_driver pxa2xx_soc_platform = {
         |                                              ^
>> sound/soc/pxa/pxa2xx-pcm.c:24:15: error: use of undeclared identifier 'pxa2xx_soc_pcm_hw_params'
      24 |         .hw_params      = pxa2xx_soc_pcm_hw_params,
         |                           ^
>> sound/soc/pxa/pxa2xx-pcm.c:25:13: error: use of undeclared identifier 'pxa2xx_soc_pcm_prepare'
      25 |         .prepare        = pxa2xx_soc_pcm_prepare,
         |                           ^
>> sound/soc/pxa/pxa2xx-pcm.c:26:13: error: use of undeclared identifier 'pxa2xx_soc_pcm_trigger'
      26 |         .trigger        = pxa2xx_soc_pcm_trigger,
         |                           ^
>> sound/soc/pxa/pxa2xx-pcm.c:27:13: error: use of undeclared identifier 'pxa2xx_soc_pcm_pointer'
      27 |         .pointer        = pxa2xx_soc_pcm_pointer,
         |                           ^
   7 errors generated.
--
>> sound/soc/pxa/pxa2xx-pcm-lib.c:60:8: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
      60 | static pxa2xx_pcm_trigger(struct snd_pcm_substream *substream, int cmd)
         | ~~~~~~ ^
         | int
>> sound/soc/pxa/pxa2xx-pcm-lib.c:127:5: warning: no previous prototype for function 'pxa2xx_soc_pcm_new' [-Wmissing-prototypes]
     127 | int pxa2xx_soc_pcm_new(struct snd_soc_component *component,
         |     ^
   sound/soc/pxa/pxa2xx-pcm-lib.c:127:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
     127 | int pxa2xx_soc_pcm_new(struct snd_soc_component *component,
         | ^
         | static 
>> sound/soc/pxa/pxa2xx-pcm-lib.c:142:5: warning: no previous prototype for function 'pxa2xx_soc_pcm_open' [-Wmissing-prototypes]
     142 | int pxa2xx_soc_pcm_open(struct snd_soc_component *component,
         |     ^
   sound/soc/pxa/pxa2xx-pcm-lib.c:142:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
     142 | int pxa2xx_soc_pcm_open(struct snd_soc_component *component,
         | ^
         | static 
>> sound/soc/pxa/pxa2xx-pcm-lib.c:149:5: warning: no previous prototype for function 'pxa2xx_soc_pcm_close' [-Wmissing-prototypes]
     149 | int pxa2xx_soc_pcm_close(struct snd_soc_component *component,
         |     ^
   sound/soc/pxa/pxa2xx-pcm-lib.c:149:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
     149 | int pxa2xx_soc_pcm_close(struct snd_soc_component *component,
         | ^
         | static 
>> sound/soc/pxa/pxa2xx-pcm-lib.c:156:5: warning: no previous prototype for function '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:156:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
     156 | int pxa2xx_soc_pcm_hw_params(struct snd_soc_component *component,
         | ^
         | static 
>> sound/soc/pxa/pxa2xx-pcm-lib.c:164:5: warning: no previous prototype for function 'pxa2xx_soc_pcm_prepare' [-Wmissing-prototypes]
     164 | int pxa2xx_soc_pcm_prepare(struct snd_soc_component *component,
         |     ^
   sound/soc/pxa/pxa2xx-pcm-lib.c:164:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
     164 | int pxa2xx_soc_pcm_prepare(struct snd_soc_component *component,
         | ^
         | static 
>> sound/soc/pxa/pxa2xx-pcm-lib.c:171:5: warning: no previous prototype for function 'pxa2xx_soc_pcm_trigger' [-Wmissing-prototypes]
     171 | int pxa2xx_soc_pcm_trigger(struct snd_soc_component *component,
         |     ^
   sound/soc/pxa/pxa2xx-pcm-lib.c:171:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
     171 | int pxa2xx_soc_pcm_trigger(struct snd_soc_component *component,
         | ^
         | static 
>> sound/soc/pxa/pxa2xx-pcm-lib.c:179:1: warning: no previous prototype for function 'pxa2xx_soc_pcm_pointer' [-Wmissing-prototypes]
     179 | pxa2xx_soc_pcm_pointer(struct snd_soc_component *component,
         | ^
   sound/soc/pxa/pxa2xx-pcm-lib.c:178:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
     178 | snd_pcm_uframes_t
         | ^
         | static 
   7 warnings and 1 error generated.


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

                 reply	other threads:[~2026-04-27 11:04 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202604271842.4gvTibgw-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=arnd@arndb.de \
    --cc=llvm@lists.linux.dev \
    --cc=oe-kbuild-all@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox