public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Jaroslav Kysela <perex@perex.cz>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
	Takashi Iwai <tiwai@suse.de>
Subject: sound/soc/sof/sof-pci-dev.c:281: undefined reference to `snd_intel_dsp_driver_probe'
Date: Wed, 1 Jan 2020 05:00:27 +0800	[thread overview]
Message-ID: <202001010524.NHnWCedo%lkp@intel.com> (raw)

[-- 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 --]

                 reply	other threads:[~2019-12-31 21:01 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202001010524.NHnWCedo%lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=perex@perex.cz \
    --cc=tiwai@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox