All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: sound/hda/intel-dsp-config.c:360: undefined reference to `sdw_intel_acpi_scan'
Date: Thu, 31 Dec 2020 20:48:00 +0800	[thread overview]
Message-ID: <202012312054.VBWDwtA7-lkp@intel.com> (raw)

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   f6e1ea19649216156576aeafa784e3b4cee45549
commit: a115ab9b8b93e7f0ff28a4fc869a3222ae921edd ASoC: SOF: Intel: add build support for SoundWire
date:   4 months ago
config: i386-randconfig-s031-20201231 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.3-184-g1b896707-dirty
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a115ab9b8b93e7f0ff28a4fc869a3222ae921edd
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout a115ab9b8b93e7f0ff28a4fc869a3222ae921edd
        # save the attached .config to linux build tree
        make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=i386 

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

All errors (new ones prefixed by >>):

   ld: sound/hda/intel-dsp-config.o: in function `snd_intel_dsp_check_soundwire':
>> sound/hda/intel-dsp-config.c:360: undefined reference to `sdw_intel_acpi_scan'


vim +360 sound/hda/intel-dsp-config.c

82d9d54a6c0ee8b Jaroslav Kysela      2019-10-22  350  
0650857570d1614 Pierre-Louis Bossart 2020-04-09  351  #if IS_ENABLED(CONFIG_SND_SOC_SOF_INTEL_SOUNDWIRE)
0650857570d1614 Pierre-Louis Bossart 2020-04-09  352  static int snd_intel_dsp_check_soundwire(struct pci_dev *pci)
0650857570d1614 Pierre-Louis Bossart 2020-04-09  353  {
0650857570d1614 Pierre-Louis Bossart 2020-04-09  354  	struct sdw_intel_acpi_info info;
0650857570d1614 Pierre-Louis Bossart 2020-04-09  355  	acpi_handle handle;
0650857570d1614 Pierre-Louis Bossart 2020-04-09  356  	int ret;
0650857570d1614 Pierre-Louis Bossart 2020-04-09  357  
0650857570d1614 Pierre-Louis Bossart 2020-04-09  358  	handle = ACPI_HANDLE(&pci->dev);
0650857570d1614 Pierre-Louis Bossart 2020-04-09  359  
0650857570d1614 Pierre-Louis Bossart 2020-04-09 @360  	ret = sdw_intel_acpi_scan(handle, &info);
0650857570d1614 Pierre-Louis Bossart 2020-04-09  361  	if (ret < 0)
0650857570d1614 Pierre-Louis Bossart 2020-04-09  362  		return ret;
0650857570d1614 Pierre-Louis Bossart 2020-04-09  363  
0650857570d1614 Pierre-Louis Bossart 2020-04-09  364  	return info.link_mask;
0650857570d1614 Pierre-Louis Bossart 2020-04-09  365  }
0650857570d1614 Pierre-Louis Bossart 2020-04-09  366  #else
0650857570d1614 Pierre-Louis Bossart 2020-04-09  367  static int snd_intel_dsp_check_soundwire(struct pci_dev *pci)
0650857570d1614 Pierre-Louis Bossart 2020-04-09  368  {
0650857570d1614 Pierre-Louis Bossart 2020-04-09  369  	return 0;
0650857570d1614 Pierre-Louis Bossart 2020-04-09  370  }
0650857570d1614 Pierre-Louis Bossart 2020-04-09  371  #endif
0650857570d1614 Pierre-Louis Bossart 2020-04-09  372  

:::::: The code@line 360 was first introduced by commit
:::::: 0650857570d161486a95d37bc8682628881ae2da ALSA: hda: add autodetection for SoundWire

:::::: TO: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
:::::: CC: Takashi Iwai <tiwai@suse.de>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

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

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
	Mark Brown <broonie@kernel.org>,
	Bard Liao <yung-chuan.liao@linux.intel.com>
Subject: sound/hda/intel-dsp-config.c:360: undefined reference to `sdw_intel_acpi_scan'
Date: Thu, 31 Dec 2020 20:48:00 +0800	[thread overview]
Message-ID: <202012312054.VBWDwtA7-lkp@intel.com> (raw)

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   f6e1ea19649216156576aeafa784e3b4cee45549
commit: a115ab9b8b93e7f0ff28a4fc869a3222ae921edd ASoC: SOF: Intel: add build support for SoundWire
date:   4 months ago
config: i386-randconfig-s031-20201231 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.3-184-g1b896707-dirty
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a115ab9b8b93e7f0ff28a4fc869a3222ae921edd
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout a115ab9b8b93e7f0ff28a4fc869a3222ae921edd
        # save the attached .config to linux build tree
        make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=i386 

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

All errors (new ones prefixed by >>):

   ld: sound/hda/intel-dsp-config.o: in function `snd_intel_dsp_check_soundwire':
>> sound/hda/intel-dsp-config.c:360: undefined reference to `sdw_intel_acpi_scan'


vim +360 sound/hda/intel-dsp-config.c

82d9d54a6c0ee8b Jaroslav Kysela      2019-10-22  350  
0650857570d1614 Pierre-Louis Bossart 2020-04-09  351  #if IS_ENABLED(CONFIG_SND_SOC_SOF_INTEL_SOUNDWIRE)
0650857570d1614 Pierre-Louis Bossart 2020-04-09  352  static int snd_intel_dsp_check_soundwire(struct pci_dev *pci)
0650857570d1614 Pierre-Louis Bossart 2020-04-09  353  {
0650857570d1614 Pierre-Louis Bossart 2020-04-09  354  	struct sdw_intel_acpi_info info;
0650857570d1614 Pierre-Louis Bossart 2020-04-09  355  	acpi_handle handle;
0650857570d1614 Pierre-Louis Bossart 2020-04-09  356  	int ret;
0650857570d1614 Pierre-Louis Bossart 2020-04-09  357  
0650857570d1614 Pierre-Louis Bossart 2020-04-09  358  	handle = ACPI_HANDLE(&pci->dev);
0650857570d1614 Pierre-Louis Bossart 2020-04-09  359  
0650857570d1614 Pierre-Louis Bossart 2020-04-09 @360  	ret = sdw_intel_acpi_scan(handle, &info);
0650857570d1614 Pierre-Louis Bossart 2020-04-09  361  	if (ret < 0)
0650857570d1614 Pierre-Louis Bossart 2020-04-09  362  		return ret;
0650857570d1614 Pierre-Louis Bossart 2020-04-09  363  
0650857570d1614 Pierre-Louis Bossart 2020-04-09  364  	return info.link_mask;
0650857570d1614 Pierre-Louis Bossart 2020-04-09  365  }
0650857570d1614 Pierre-Louis Bossart 2020-04-09  366  #else
0650857570d1614 Pierre-Louis Bossart 2020-04-09  367  static int snd_intel_dsp_check_soundwire(struct pci_dev *pci)
0650857570d1614 Pierre-Louis Bossart 2020-04-09  368  {
0650857570d1614 Pierre-Louis Bossart 2020-04-09  369  	return 0;
0650857570d1614 Pierre-Louis Bossart 2020-04-09  370  }
0650857570d1614 Pierre-Louis Bossart 2020-04-09  371  #endif
0650857570d1614 Pierre-Louis Bossart 2020-04-09  372  

:::::: The code at line 360 was first introduced by commit
:::::: 0650857570d161486a95d37bc8682628881ae2da ALSA: hda: add autodetection for SoundWire

:::::: TO: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
:::::: CC: Takashi Iwai <tiwai@suse.de>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

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

             reply	other threads:[~2020-12-31 12:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-31 12:48 kernel test robot [this message]
2020-12-31 12:48 ` sound/hda/intel-dsp-config.c:360: undefined reference to `sdw_intel_acpi_scan' kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2021-02-26  3:17 kernel test robot
2021-02-26  3:17 ` kernel test robot

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=202012312054.VBWDwtA7-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /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 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.