From: kernel test robot <lkp@intel.com>
To: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: [morimoto:sound-cleanup-2025-04-22 92/103] sound/soc/soc-dapm.c:897: warning: expecting prototype for snd_soc_dapm_kcontrol_dapm(). Prototype was for snd_soc_dapm_kcontrol_to_dapm() instead
Date: Tue, 22 Apr 2025 22:25:07 +0800 [thread overview]
Message-ID: <202504222229.t3Qe9phM-lkp@intel.com> (raw)
tree: https://github.com/morimoto/linux sound-cleanup-2025-04-22
head: f743db58ae26ad957c2beb5f627c328ec8473d30
commit: b876d1c5b4704fc450a909ae291311320b46b732 [92/103] ASoC: soc-dapm: rename snd_soc_dapm_kcontrol_dapm() to snd_soc_dapm_kcontrol_to_dapm()
config: i386-buildonly-randconfig-002-20250422 (https://download.01.org/0day-ci/archive/20250422/202504222229.t3Qe9phM-lkp@intel.com/config)
compiler: clang version 20.1.2 (https://github.com/llvm/llvm-project 58df0ef89dd64126512e4ee27b4ac3fd8ddf6247)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250422/202504222229.t3Qe9phM-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/202504222229.t3Qe9phM-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> sound/soc/soc-dapm.c:897: warning: expecting prototype for snd_soc_dapm_kcontrol_dapm(). Prototype was for snd_soc_dapm_kcontrol_to_dapm() instead
sound/soc/soc-dapm.c:980: warning: Function parameter or struct member 'dapm' not described in 'snd_soc_dapm_init_bias_level'
sound/soc/soc-dapm.c:980: warning: Excess function parameter 'component' description in 'snd_soc_dapm_init_bias_level'
vim +897 sound/soc/soc-dapm.c
93e39a11520c000 Mythri P K 2015-10-20 886
ce0fc93ae56e2ba Lars-Peter Clausen 2014-06-16 887 /**
ce0fc93ae56e2ba Lars-Peter Clausen 2014-06-16 888 * snd_soc_dapm_kcontrol_dapm() - Returns the dapm context associated to a
ce0fc93ae56e2ba Lars-Peter Clausen 2014-06-16 889 * kcontrol
ce0fc93ae56e2ba Lars-Peter Clausen 2014-06-16 890 * @kcontrol: The kcontrol
ce0fc93ae56e2ba Lars-Peter Clausen 2014-06-16 891 *
ce0fc93ae56e2ba Lars-Peter Clausen 2014-06-16 892 * Note: This function must only be used on kcontrols that are known to have
ce0fc93ae56e2ba Lars-Peter Clausen 2014-06-16 893 * been registered for a CODEC. Otherwise the behaviour is undefined.
ce0fc93ae56e2ba Lars-Peter Clausen 2014-06-16 894 */
b876d1c5b4704fc Kuninori Morimoto 2025-04-22 895 struct snd_soc_dapm_context *snd_soc_dapm_kcontrol_to_dapm(
ce0fc93ae56e2ba Lars-Peter Clausen 2014-06-16 896 struct snd_kcontrol *kcontrol)
ce0fc93ae56e2ba Lars-Peter Clausen 2014-06-16 @897 {
ce0fc93ae56e2ba Lars-Peter Clausen 2014-06-16 898 return dapm_kcontrol_get_wlist(kcontrol)->widgets[0]->dapm;
ce0fc93ae56e2ba Lars-Peter Clausen 2014-06-16 899 }
b876d1c5b4704fc Kuninori Morimoto 2025-04-22 900 EXPORT_SYMBOL_GPL(snd_soc_dapm_kcontrol_to_dapm);
ce0fc93ae56e2ba Lars-Peter Clausen 2014-06-16 901
:::::: The code at line 897 was first introduced by commit
:::::: ce0fc93ae56e2ba50ff8c220d69e4e860e889320 ASoC: Add DAPM support at the component level
:::::: TO: Lars-Peter Clausen <lars@metafoo.de>
:::::: CC: Mark Brown <broonie@linaro.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2025-04-22 14:25 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=202504222229.t3Qe9phM-lkp@intel.com \
--to=lkp@intel.com \
--cc=kuninori.morimoto.gx@renesas.com \
--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