alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Cc: Takashi Iwai <tiwai@suse.de>,
	alsa-devel@alsa-project.org, Mark Brown <broonie@kernel.org>,
	kbuild-all@01.org,
	Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Subject: [asoc:for-5.2 248/316] sound/soc/sof/core.c:279: undefined reference to `sof_nocodec_setup'
Date: Tue, 7 May 2019 21:28:30 +0800	[thread overview]
Message-ID: <201905072128.M0UIELnr%lkp@intel.com> (raw)

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.2
head:   f153bf49ddf6169544b24ef5ea26fa3eb4996b95
commit: 7e978fa37df7f771a5d02934ff828a0ee36bcf11 [248/316] ASoC: SOF: Add Build support for SOF core and Intel drivers
config: i386-randconfig-l1-05071509 (attached as .config)
compiler: gcc-5 (Debian 5.5.0-3) 5.4.1 20171010
reproduce:
        git checkout 7e978fa37df7f771a5d02934ff828a0ee36bcf11
        # save the attached .config to linux build tree
        make ARCH=i386 

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

All errors (new ones prefixed by >>):

   ld: sound/soc/sof/core.o: in function `sof_machine_check':
>> sound/soc/sof/core.c:279: undefined reference to `sof_nocodec_setup'

vim +279 sound/soc/sof/core.c

c16211d6 Liam Girdwood 2019-04-12  255  
c16211d6 Liam Girdwood 2019-04-12  256  /*
c16211d6 Liam Girdwood 2019-04-12  257   * SOF Driver enumeration.
c16211d6 Liam Girdwood 2019-04-12  258   */
c16211d6 Liam Girdwood 2019-04-12  259  static int sof_machine_check(struct snd_sof_dev *sdev)
c16211d6 Liam Girdwood 2019-04-12  260  {
c16211d6 Liam Girdwood 2019-04-12  261  	struct snd_sof_pdata *plat_data = sdev->pdata;
c16211d6 Liam Girdwood 2019-04-12  262  	struct snd_soc_acpi_mach *machine;
c16211d6 Liam Girdwood 2019-04-12  263  	int ret;
c16211d6 Liam Girdwood 2019-04-12  264  
c16211d6 Liam Girdwood 2019-04-12  265  	if (plat_data->machine)
c16211d6 Liam Girdwood 2019-04-12  266  		return 0;
c16211d6 Liam Girdwood 2019-04-12  267  
c16211d6 Liam Girdwood 2019-04-12  268  	if (!IS_ENABLED(CONFIG_SND_SOC_SOF_NOCODEC)) {
c16211d6 Liam Girdwood 2019-04-12  269  		dev_err(sdev->dev, "error: no matching ASoC machine driver found - aborting probe\n");
c16211d6 Liam Girdwood 2019-04-12  270  		return -ENODEV;
c16211d6 Liam Girdwood 2019-04-12  271  	}
c16211d6 Liam Girdwood 2019-04-12  272  
c16211d6 Liam Girdwood 2019-04-12  273  	/* fallback to nocodec mode */
c16211d6 Liam Girdwood 2019-04-12  274  	dev_warn(sdev->dev, "No ASoC machine driver found - using nocodec\n");
c16211d6 Liam Girdwood 2019-04-12  275  	machine = devm_kzalloc(sdev->dev, sizeof(*machine), GFP_KERNEL);
c16211d6 Liam Girdwood 2019-04-12  276  	if (!machine)
c16211d6 Liam Girdwood 2019-04-12  277  		return -ENOMEM;
c16211d6 Liam Girdwood 2019-04-12  278  
c16211d6 Liam Girdwood 2019-04-12 @279  	ret = sof_nocodec_setup(sdev->dev, plat_data, machine,
c16211d6 Liam Girdwood 2019-04-12  280  				plat_data->desc, plat_data->desc->ops);
c16211d6 Liam Girdwood 2019-04-12  281  	if (ret < 0)
c16211d6 Liam Girdwood 2019-04-12  282  		return ret;
c16211d6 Liam Girdwood 2019-04-12  283  
c16211d6 Liam Girdwood 2019-04-12  284  	plat_data->machine = machine;
c16211d6 Liam Girdwood 2019-04-12  285  
c16211d6 Liam Girdwood 2019-04-12  286  	return 0;
c16211d6 Liam Girdwood 2019-04-12  287  }
c16211d6 Liam Girdwood 2019-04-12  288  

:::::: The code at line 279 was first introduced by commit
:::::: c16211d6226dbde8819b84da07508083a1138a06 ASoC: SOF: Add Sound Open Firmware driver core

:::::: TO: Liam Girdwood <liam.r.girdwood@linux.intel.com>
:::::: CC: Mark Brown <broonie@kernel.org>

---
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: 35078 bytes --]

[-- Attachment #3: Type: text/plain, Size: 0 bytes --]



             reply	other threads:[~2019-05-07 13:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-07 13:28 kbuild test robot [this message]
2019-05-07 15:57 ` [asoc:for-5.2 248/316] sound/soc/sof/core.c:279: undefined reference to `sof_nocodec_setup' Pierre-Louis Bossart

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=201905072128.M0UIELnr%lkp@intel.com \
    --to=lkp@intel.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=kbuild-all@01.org \
    --cc=liam.r.girdwood@linux.intel.com \
    --cc=pierre-louis.bossart@linux.intel.com \
    --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;
as well as URLs for NNTP newsgroup(s).