public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* sound/soc/sof/sof-pci-dev.c:281: undefined reference to `snd_intel_dsp_driver_probe'
@ 2019-12-31 21:00 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2019-12-31 21:00 UTC (permalink / raw)
  To: Jaroslav Kysela; +Cc: kbuild-all, linux-kernel, Takashi Iwai

[-- Attachment #1: Type: text/plain, Size: 2388 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   fd6988496e79a6a4bdb514a4655d2920209eb85d
commit: 82d9d54a6c0ee8b12211fa4e59fd940a2da4e063 ALSA: hda: add Intel DSP configuration / probe code
date:   2 months ago
config: alpha-randconfig-a001-20200101 (attached as .config)
compiler: alpha-linux-gcc (GCC) 7.5.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 82d9d54a6c0ee8b12211fa4e59fd940a2da4e063
        # save the attached .config to linux build tree
        GCC_VERSION=7.5.0 make.cross ARCH=alpha 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   sound/soc/sof/sof-pci-dev.o: In function `sof_pci_probe':
>> sound/soc/sof/sof-pci-dev.c:281: undefined reference to `snd_intel_dsp_driver_probe'
>> sound/soc/sof/sof-pci-dev.c:281: undefined reference to `snd_intel_dsp_driver_probe'

vim +281 sound/soc/sof/sof-pci-dev.c

   269	
   270	static int sof_pci_probe(struct pci_dev *pci,
   271				 const struct pci_device_id *pci_id)
   272	{
   273		struct device *dev = &pci->dev;
   274		const struct sof_dev_desc *desc =
   275			(const struct sof_dev_desc *)pci_id->driver_data;
   276		struct snd_soc_acpi_mach *mach;
   277		struct snd_sof_pdata *sof_pdata;
   278		const struct snd_sof_dsp_ops *ops;
   279		int ret;
   280	
 > 281		ret = snd_intel_dsp_driver_probe(pci);
   282		if (ret != SND_INTEL_DSP_DRIVER_ANY &&
   283		    ret != SND_INTEL_DSP_DRIVER_SOF)
   284			return -ENODEV;
   285	
   286		dev_dbg(&pci->dev, "PCI DSP detected");
   287	
   288		/* get ops for platform */
   289		ops = desc->ops;
   290		if (!ops) {
   291			dev_err(dev, "error: no matching PCI descriptor ops\n");
   292			return -ENODEV;
   293		}
   294	
   295		sof_pdata = devm_kzalloc(dev, sizeof(*sof_pdata), GFP_KERNEL);
   296		if (!sof_pdata)
   297			return -ENOMEM;
   298	
   299		ret = pcim_enable_device(pci);
   300		if (ret < 0)
   301			return ret;
   302	
   303		ret = pci_request_regions(pci, "Audio DSP");
   304		if (ret < 0)
   305			return ret;
   306	

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 30041 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-12-31 21:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-31 21:00 sound/soc/sof/sof-pci-dev.c:281: undefined reference to `snd_intel_dsp_driver_probe' kbuild test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox