* [sashal-linux-stable:queue-5.4 46/53] sound/pci/hda/patch_realtek.c:294:3: error: implicit declaration of function 'snd_hda_gen_add_micmute_led_cdev'; did you mean
@ 2020-12-10 18:30 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-12-10 18:30 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 4198 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git queue-5.4
head: 1e78c85f6eec2ef1bb91ad01af8ac649e1e75d44
commit: f87316987f60a7da8edf9814dbb4c0ed4dd49406 [46/53] ALSA: hda/realtek: Convert to cdev-variant of mic-mute LED controls
config: xtensa-allyesconfig (attached as .config)
compiler: xtensa-linux-gcc (GCC) 9.3.0
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
# https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git/commit/?id=f87316987f60a7da8edf9814dbb4c0ed4dd49406
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 f87316987f60a7da8edf9814dbb4c0ed4dd49406
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=xtensa
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
In file included from include/linux/init.h:5,
from sound/pci/hda/patch_realtek.c:13:
include/linux/scatterlist.h: In function 'sg_set_buf':
arch/xtensa/include/asm/page.h:182:9: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
182 | ((pfn) >= ARCH_PFN_OFFSET && ((pfn) - ARCH_PFN_OFFSET) < max_mapnr)
| ^~
include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
143 | BUG_ON(!virt_addr_valid(buf));
| ^~~~~~
arch/xtensa/include/asm/page.h:190:32: note: in expansion of macro 'pfn_valid'
190 | #define virt_addr_valid(kaddr) pfn_valid(__pa(kaddr) >> PAGE_SHIFT)
| ^~~~~~~~~
include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
143 | BUG_ON(!virt_addr_valid(buf));
| ^~~~~~~~~~~~~~~
In file included from ./arch/xtensa/include/generated/asm/bug.h:1,
from include/linux/bug.h:5,
from include/linux/mmdebug.h:5,
from include/linux/gfp.h:5,
from include/linux/slab.h:15,
from sound/pci/hda/patch_realtek.c:15:
include/linux/dma-mapping.h: In function 'dma_map_resource':
arch/xtensa/include/asm/page.h:182:9: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
182 | ((pfn) >= ARCH_PFN_OFFSET && ((pfn) - ARCH_PFN_OFFSET) < max_mapnr)
| ^~
include/asm-generic/bug.h:139:27: note: in definition of macro 'WARN_ON_ONCE'
139 | int __ret_warn_once = !!(condition); \
| ^~~~~~~~~
include/linux/dma-mapping.h:355:19: note: in expansion of macro 'pfn_valid'
355 | if (WARN_ON_ONCE(pfn_valid(PHYS_PFN(phys_addr))))
| ^~~~~~~~~
sound/pci/hda/patch_realtek.c: In function 'alc_fixup_micmute_led':
>> sound/pci/hda/patch_realtek.c:294:3: error: implicit declaration of function 'snd_hda_gen_add_micmute_led_cdev'; did you mean 'snd_hda_gen_add_micmute_led'? [-Werror=implicit-function-declaration]
294 | snd_hda_gen_add_micmute_led_cdev(codec, NULL);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| snd_hda_gen_add_micmute_led
cc1: some warnings being treated as errors
vim +294 sound/pci/hda/patch_realtek.c
289
290 static void alc_fixup_micmute_led(struct hda_codec *codec,
291 const struct hda_fixup *fix, int action)
292 {
293 if (action == HDA_FIXUP_ACT_PROBE)
> 294 snd_hda_gen_add_micmute_led_cdev(codec, NULL);
295 }
296
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 60373 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-12-10 18:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-10 18:30 [sashal-linux-stable:queue-5.4 46/53] sound/pci/hda/patch_realtek.c:294:3: error: implicit declaration of function 'snd_hda_gen_add_micmute_led_cdev'; did you mean 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.