[tip:WIP.sched/core 166/167] include/sound/control.h:107:2: error: unknown type name 'wait_queue_head_t'

From: kbuild test robot
Date: Mon Feb 06 2017 - 06:58:06 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.sched/core
head: 3cb464183709fc66902b262ce921cb5a410697d1
commit: 437af2a38b67158b963a3009f5f79ff9303f45f0 [166/167] hrtimer: Remove the <linux/wait.h> include from <linux/hrtimer.h>
config: sparc64-allmodconfig (attached as .config)
compiler: sparc64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 437af2a38b67158b963a3009f5f79ff9303f45f0
# save the attached .config to linux build tree
make.cross ARCH=sparc64

All errors (new ones prefixed by >>):

In file included from sound/usb/6fire/control.c:21:0:
>> include/sound/control.h:107:2: error: unknown type name 'wait_queue_head_t'
wait_queue_head_t change_sleep;
^~~~~~~~~~~~~~~~~

vim +/wait_queue_head_t +107 include/sound/control.h

^1da177e Linus Torvalds 2005-04-16 91
82e9bae6 Takashi Iwai 2005-11-17 92 #define snd_kctl_event(n) list_entry(n, struct snd_kctl_event, list)
^1da177e Linus Torvalds 2005-04-16 93
25d27ede Clemens Ladisch 2009-11-02 94 struct pid;
25d27ede Clemens Ladisch 2009-11-02 95
23c18d4b Takashi Iwai 2014-02-19 96 enum {
23c18d4b Takashi Iwai 2014-02-19 97 SND_CTL_SUBDEV_PCM,
23c18d4b Takashi Iwai 2014-02-19 98 SND_CTL_SUBDEV_RAWMIDI,
23c18d4b Takashi Iwai 2014-02-19 99 SND_CTL_SUBDEV_ITEMS,
23c18d4b Takashi Iwai 2014-02-19 100 };
23c18d4b Takashi Iwai 2014-02-19 101
82e9bae6 Takashi Iwai 2005-11-17 102 struct snd_ctl_file {
^1da177e Linus Torvalds 2005-04-16 103 struct list_head list; /* list of all control files */
82e9bae6 Takashi Iwai 2005-11-17 104 struct snd_card *card;
25d27ede Clemens Ladisch 2009-11-02 105 struct pid *pid;
23c18d4b Takashi Iwai 2014-02-19 106 int preferred_subdevice[SND_CTL_SUBDEV_ITEMS];
^1da177e Linus Torvalds 2005-04-16 @107 wait_queue_head_t change_sleep;
^1da177e Linus Torvalds 2005-04-16 108 spinlock_t read_lock;
^1da177e Linus Torvalds 2005-04-16 109 struct fasync_struct *fasync;
^1da177e Linus Torvalds 2005-04-16 110 int subscribed; /* read interface is activated */
^1da177e Linus Torvalds 2005-04-16 111 struct list_head events; /* waiting events for read */
^1da177e Linus Torvalds 2005-04-16 112 };
^1da177e Linus Torvalds 2005-04-16 113
82e9bae6 Takashi Iwai 2005-11-17 114 #define snd_ctl_file(n) list_entry(n, struct snd_ctl_file, list)
^1da177e Linus Torvalds 2005-04-16 115

:::::: The code at line 107 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2

:::::: TO: Linus Torvalds <torvalds@xxxxxxxxxxxxxxx>
:::::: CC: Linus Torvalds <torvalds@xxxxxxxxxxxxxxx>

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: application/gzip