Hi Jaroslav,
I love your patch! Yet something to improve:
[auto build test ERROR on tiwai-sound/for-next] [also build test ERROR on tiwai-sound/for-linus linus/master v6.2-rc6 next-20230202] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Jaroslav-Kysela/ALSA-hda-Fix-... base: https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git for-next patch link: https://lore.kernel.org/r/20230131094215.3545993-1-perex%40perex.cz patch subject: [PATCH] ALSA: hda: Fix the control element identification for multiple codecs config: x86_64-defconfig (https://download.01.org/0day-ci/archive/20230202/202302021656.nqNSqtwW-lkp@i...) compiler: gcc-11 (Debian 11.3.0-8) 11.3.0 reproduce (this is a W=1 build): # https://github.com/intel-lab-lkp/linux/commit/8dfc91ec424bfc92232d31eadddd19... git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Jaroslav-Kysela/ALSA-hda-Fix-the-control-element-identification-for-multiple-codecs/20230131-174413 git checkout 8dfc91ec424bfc92232d31eadddd1901fa5c65f6 # save the config file mkdir build_dir && cp config build_dir/.config make W=1 O=build_dir ARCH=x86_64 olddefconfig make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot lkp@intel.com
All errors (new ones prefixed by >>):
sound/pci/hda/hda_intel.c:123:41: error: 'CONFIG_SND_HDA_CTL_DEV_ID' undeclared here (not in a function); did you mean 'CONFIG_SND_HDA_CORE'?
123 | CONFIG_SND_HDA_CTL_DEV_ID}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ | CONFIG_SND_HDA_CORE
vim +123 sound/pci/hda/hda_intel.c
101 102 103 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; 104 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; 105 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP; 106 static char *model[SNDRV_CARDS]; 107 static int position_fix[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS-1)] = -1}; 108 static int bdl_pos_adj[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS-1)] = -1}; 109 static int probe_mask[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS-1)] = -1}; 110 static int probe_only[SNDRV_CARDS]; 111 static int jackpoll_ms[SNDRV_CARDS]; 112 static int single_cmd = -1; 113 static int enable_msi = -1; 114 #ifdef CONFIG_SND_HDA_PATCH_LOADER 115 static char *patch[SNDRV_CARDS]; 116 #endif 117 #ifdef CONFIG_SND_HDA_INPUT_BEEP 118 static bool beep_mode[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS-1)] = 119 CONFIG_SND_HDA_INPUT_BEEP_MODE}; 120 #endif 121 static bool dmic_detect = 1; 122 static bool ctl_dev_id[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS-1)] =
123 CONFIG_SND_HDA_CTL_DEV_ID};
124