[alsa-devel] [sound:topic/for-4.13 22/30] sound/core/pcm.c:905:3: error: implicit declaration of function 'pcm_call_notify'
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git topic/for-4.13 head: c56407e6d958efda0d2a587ed89e02a251975e06 commit: e9a0fa885872c92e6ada08fb1cf3433945d235a3 [22/30] ALSA: pcm: Build pcm notifier code conditionally config: x86_64-kexec (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: git checkout e9a0fa885872c92e6ada08fb1cf3433945d235a3 # save the attached .config to linux build tree make ARCH=x86_64
All errors (new ones prefixed by >>):
sound/core/pcm.c: In function 'snd_pcm_free':
sound/core/pcm.c:905:3: error: implicit declaration of function 'pcm_call_notify' [-Werror=implicit-function-declaration]
pcm_call_notify(pcm, n_unregister); ^~~~~~~~~~~~~~~
sound/core/pcm.c:905:24: error: 'n_unregister' undeclared (first use in this function)
pcm_call_notify(pcm, n_unregister); ^~~~~~~~~~~~ sound/core/pcm.c:905:24: note: each undeclared identifier is reported only once for each function it appears in sound/core/pcm.c: In function 'snd_pcm_dev_register':
sound/core/pcm.c:1118:23: error: 'n_register' undeclared (first use in this function)
pcm_call_notify(pcm, n_register); ^~~~~~~~~~ sound/core/pcm.c: In function 'snd_pcm_dev_disconnect':
sound/core/pcm.c:1147:24: error: 'n_disconnect' undeclared (first use in this function)
pcm_call_notify(pcm, n_disconnect); ^~~~~~~~~~~~ cc1: some warnings being treated as errors
vim +/pcm_call_notify +905 sound/core/pcm.c
899 900 static int snd_pcm_free(struct snd_pcm *pcm) 901 { 902 if (!pcm) 903 return 0; 904 if (!pcm->internal)
905 pcm_call_notify(pcm, n_unregister);
906 if (pcm->private_free) 907 pcm->private_free(pcm); 908 snd_pcm_lib_preallocate_free_for_all(pcm);
--- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
participants (1)
-
kbuild test robot