Hi Aditya,
FYI, the error/warning still remains.
tree:
https://github.com/intel/linux-intel-lts.git 4.19/android_r
head: 8367d521b6ca9b77d18fbb56f936df6824f0843c
commit: 75fe91933be2dd4b884ca83bd72e1e0f0d05cfc6 [21728/25353] ANDROID: ASoC: core: add
locked version of soc_find_component
config: arm-randconfig-r013-20211122 (attached as .config)
compiler: clang version 14.0.0 (
https://github.com/llvm/llvm-project
c133fb321f7ca6083ce15b6aa5bf89de6600e649)
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
# install arm cross compiling tool for clang build
# apt-get install binutils-arm-linux-gnueabi
#
https://github.com/intel/linux-intel-lts/commit/75fe91933be2dd4b884ca83bd...
git remote add intel-lts
https://github.com/intel/linux-intel-lts.git
git fetch --no-tags intel-lts 4.19/android_r
git checkout 75fe91933be2dd4b884ca83bd72e1e0f0d05cfc6
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=arm
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
> sound/soc/soc-core.c:761:27: warning: no previous prototype for
function 'soc_find_component_locked' [-Wmissing-prototypes]
struct
snd_soc_component *soc_find_component_locked(
^
sound/soc/soc-core.c:761:1: note: declare 'static' if the function is not
intended to be used outside of this translation unit
struct snd_soc_component *soc_find_component_locked(
^
static
sound/soc/soc-core.c:69:27: warning: unused variable 'dmi_blacklist'
[-Wunused-const-variable]
static const char * const dmi_blacklist[] = {
^
2 warnings generated.
sound/soc/soc-core.c:2971: warning: Excess function parameter
'legacy_dai_naming' description in 'snd_soc_register_dais'
sound/soc/soc-core.c:3333: warning: Function parameter or member 'online' not
described in 'snd_soc_card_change_online_state'
vim +/soc_find_component_locked +761 sound/soc/soc-core.c
750
751 /**
752 * soc_find_component_locked: soc_find_component with client lock acquired
753 *
754 * @of_node: of_node of the component to query.
755 * @name: name of the component to query.
756 *
757 * function to find out if a component is already registered with ASoC core.
758 *
759 * Returns component handle for success, else NULL error.
760 */
761 struct snd_soc_component *soc_find_component_locked(
762 const struct device_node *of_node, const char *name)
763 {
764 struct snd_soc_component *component = NULL;
765
766 mutex_lock(&client_mutex);
767 component = soc_find_component(of_node, name);
768 mutex_unlock(&client_mutex);
769 return component;
770 }
771 EXPORT_SYMBOL(soc_find_component_locked);
772
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org