[morimoto:sound-cleanup-2026-07-16 307/311] sound/soc/soc-component.c:1889:9: error: implicit declaration of function 'snd_soc_unregister_component_by_driver'; did you mean 'snd_soc_component_to_driver'?
kernel test robot <[email protected]>
| Newsgroups | dev.linux.lists.oe-kbuild-all |
|---|---|
| Message-ID | <[email protected]> |
tree: https://github.com/morimoto/linux sound-cleanup-2026-07-16 head: e51d2e02d8d4c974132f00eec9d2215a476084f0 commit: e5f6e49182359560489330edda8ea8db0fe3e07b [307/311] ASoC: soc-component: remove compatible definition config: x86_64-rhel-9.4-bpf (https://download.01.org/0day-ci/archive/20260716/[email protected]/config) compiler: gcc-14 (Debian 14.2.0-19) 14.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260716/[email protected]/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 <[email protected]> | Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ All errors (new ones prefixed by >>): sound/soc/soc-component.c: In function 'devm_component_release': >> sound/soc/soc-component.c:1889:9: error: implicit declaration of function 'snd_soc_unregister_component_by_driver'; did you mean 'snd_soc_component_to_driver'? [-Wimplicit-function-declaration] 1889 | snd_soc_unregister_component_by_driver(dev, *cmpnt_drv); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | snd_soc_component_to_driver vim +1889 sound/soc/soc-component.c f547a858c9abcb1 Kuninori Morimoto 2026-07-08 1884 f547a858c9abcb1 Kuninori Morimoto 2026-07-08 1885 static void devm_component_release(struct device *dev, void *res) f547a858c9abcb1 Kuninori Morimoto 2026-07-08 1886 { f547a858c9abcb1 Kuninori Morimoto 2026-07-08 1887 const struct snd_soc_component_driver **cmpnt_drv = res; f547a858c9abcb1 Kuninori Morimoto 2026-07-08 1888 f547a858c9abcb1 Kuninori Morimoto 2026-07-08 @1889 snd_soc_unregister_component_by_driver(dev, *cmpnt_drv); f547a858c9abcb1 Kuninori Morimoto 2026-07-08 1890 } f547a858c9abcb1 Kuninori Morimoto 2026-07-08 1891 :::::: The code at line 1889 was first introduced by commit :::::: f547a858c9abcb132c18ff0f09700d925b069c21 ASoC: soc-component: move devm_snd_soc_component_register() :::::: TO: Kuninori Morimoto <[email protected]> :::::: CC: Kuninori Morimoto <[email protected]> -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki