* [sound:topic/hda-core-intel 1/7] sound/hda/ext/hdac_ext_controller.c:283:3: error: 'bus' undeclared; did you mean 'ebus'?
@ 2018-06-26 19:19 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2018-06-26 19:19 UTC (permalink / raw)
To: Rakesh Ughreja; +Cc: Takashi Iwai, alsa-devel, kbuild-all, Pierre-Louis Bossart
[-- Attachment #1: Type: text/plain, Size: 2396 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git topic/hda-core-intel
head: 21b51c0d69680da7cdf4c83d274edef2fe4f27bc
commit: 7b4986f0c30484370183d935821b826c855c28bf [1/7] ALSA: hdac: ext: add wait for codec to respond after link reset
config: x86_64-randconfig-x008-201825 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-16) 7.3.0
reproduce:
git checkout 7b4986f0c30484370183d935821b826c855c28bf
# save the attached .config to linux build tree
make ARCH=x86_64
Note: the sound/topic/hda-core-intel HEAD 21b51c0d69680da7cdf4c83d274edef2fe4f27bc builds fine.
It only hurts bisectibility.
All errors (new ones prefixed by >>):
sound/hda/ext/hdac_ext_controller.c: In function 'snd_hdac_ext_bus_link_get':
>> sound/hda/ext/hdac_ext_controller.c:283:3: error: 'bus' undeclared (first use in this function); did you mean 'ebus'?
bus->codec_mask = snd_hdac_chip_readw(bus, STATESTS);
^~~
ebus
sound/hda/ext/hdac_ext_controller.c:283:3: note: each undeclared identifier is reported only once for each function it appears in
vim +283 sound/hda/ext/hdac_ext_controller.c
258
259 int snd_hdac_ext_bus_link_get(struct hdac_ext_bus *ebus,
260 struct hdac_ext_link *link)
261 {
262 int ret = 0;
263
264 mutex_lock(&ebus->lock);
265
266 /*
267 * if we move from 0 to 1, count will be 1 so power up this link
268 * as well, also check the dma status and trigger that
269 */
270 if (++link->ref_count == 1) {
271 if (!ebus->cmd_dma_state) {
272 snd_hdac_bus_init_cmd_io(&ebus->bus);
273 ebus->cmd_dma_state = true;
274 }
275
276 ret = snd_hdac_ext_bus_link_power_up(link);
277
278 /*
279 * wait for 521usec for codec to report status
280 * HDA spec section 4.3 - Codec Discovery
281 */
282 udelay(521);
> 283 bus->codec_mask = snd_hdac_chip_readw(bus, STATESTS);
284 dev_dbg(bus->dev, "codec_mask = 0x%lx\n", bus->codec_mask);
285 snd_hdac_chip_writew(bus, STATESTS, bus->codec_mask);
286 }
287
288 mutex_unlock(&ebus->lock);
289 return ret;
290 }
291 EXPORT_SYMBOL_GPL(snd_hdac_ext_bus_link_get);
292
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 34969 bytes --]
[-- Attachment #3: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-06-26 19:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-26 19:19 [sound:topic/hda-core-intel 1/7] sound/hda/ext/hdac_ext_controller.c:283:3: error: 'bus' undeclared; did you mean 'ebus'? kbuild 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.