lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202001010524.NHnWCedo%lkp@intel.com>
Date:   Wed, 1 Jan 2020 05:00:27 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Jaroslav Kysela <perex@...ex.cz>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Takashi Iwai <tiwai@...e.de>
Subject: sound/soc/sof/sof-pci-dev.c:281: undefined reference to
 `snd_intel_dsp_driver_probe'

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@...el.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

Download attachment ".config.gz" of type "application/gzip" (30041 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ