* [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
@ 2025-04-22 14:25 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-04-22 14:25 UTC (permalink / raw)
To: Kuninori Morimoto; +Cc: llvm, oe-kbuild-all
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-04-22 14:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-22 14:25 [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 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.