tree:
https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git queue-5.4
head: 4bd8020d6c753ab56df4d7bd75833fd880e1995a
commit: aa457bfe463f543c83a701352c00ac8d31b9e8cb [113/120] ALSA: hda/conexant: Convert to
cdev-variant of mic-mute LED controls
config: x86_64-randconfig-a002-20210320 (attached as .config)
compiler: clang version 13.0.0 (
https://github.com/llvm/llvm-project
436c6c9c20cc522c92a923440a5fc509c342a7db)
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 x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
#
https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git/c...
git remote add sashal-linux-stable
https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git
git fetch --no-tags sashal-linux-stable queue-5.4
git checkout aa457bfe463f543c83a701352c00ac8d31b9e8cb
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
> sound/pci/hda/patch_conexant.c:670:3: error: implicit declaration
of function 'snd_hda_gen_add_micmute_led_cdev'
[-Werror,-Wimplicit-function-declaration]
snd_hda_gen_add_micmute_led_cdev(codec, cxt_gpio_micmute_update);
^
sound/pci/hda/patch_conexant.c:670:3: note: did you mean
'snd_hda_gen_add_micmute_led'?
sound/pci/hda/hda_generic.h:357:5: note: 'snd_hda_gen_add_micmute_led' declared
here
int snd_hda_gen_add_micmute_led(struct hda_codec *codec,
^
1 error generated.
vim +/snd_hda_gen_add_micmute_led_cdev +670 sound/pci/hda/patch_conexant.c
652
653
654 static void cxt_fixup_mute_led_gpio(struct hda_codec *codec,
655 const struct hda_fixup *fix, int action)
656 {
657 struct conexant_spec *spec = codec->spec;
658 static const struct hda_verb gpio_init[] = {
659 { 0x01, AC_VERB_SET_GPIO_MASK, 0x03 },
660 { 0x01, AC_VERB_SET_GPIO_DIRECTION, 0x03 },
661 {}
662 };
663
664 if (action == HDA_FIXUP_ACT_PRE_PROBE) {
665 spec->gen.vmaster_mute.hook = cxt_fixup_gpio_mute_hook;
666 spec->gpio_led = 0;
667 spec->mute_led_polarity = 0;
668 spec->gpio_mute_led_mask = 0x01;
669 spec->gpio_mic_led_mask = 0x02;
670 snd_hda_gen_add_micmute_led_cdev(codec,
cxt_gpio_micmute_update);
671 }
672 snd_hda_add_verbs(codec, gpio_init);
673 if (spec->gpio_led)
674 snd_hda_codec_write(codec, 0x01, 0, AC_VERB_SET_GPIO_DATA,
675 spec->gpio_led);
676 }
677
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org