[alsa-devel] [PATCH v1] ASoC: rt5677: Hide platform data in the module sources

kbuild test robot lkp at intel.com
Sun Jun 18 05:50:23 CEST 2017


Hi Andy,

[auto build test ERROR on asoc/for-next]
[cannot apply to v4.12-rc5 next-20170616]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Andy-Shevchenko/ASoC-rt5677-Hide-platform-data-in-the-module-sources/20170618-110640
base:   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
config: sh-allmodconfig (attached as .config)
compiler: sh4-linux-gnu-gcc (Debian 6.3.0-18) 6.3.0 20170516
reproduce:
        wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=sh 

All errors (new ones prefixed by >>):

   sound/soc//codecs/rt5677.c: In function 'rt5677_i2c_probe':
>> sound/soc//codecs/rt5677.c:5171:31: error: 'rt5677_acpi_match' undeclared (first use in this function)
      acpi_id = acpi_match_device(rt5677_acpi_match, &i2c->dev);
                                  ^~~~~~~~~~~~~~~~~
   sound/soc//codecs/rt5677.c:5171:31: note: each undeclared identifier is reported only once for each function it appears in

vim +/rt5677_acpi_match +5171 sound/soc//codecs/rt5677.c

  5165				rt5677->type = (enum rt5677_type)match_id->data;
  5166	
  5167			rt5677_read_device_properties(rt5677, &i2c->dev);
  5168		} else if (ACPI_HANDLE(&i2c->dev)) {
  5169			const struct acpi_device_id *acpi_id;
  5170	
> 5171			acpi_id = acpi_match_device(rt5677_acpi_match, &i2c->dev);
  5172			if (acpi_id)
  5173				rt5677->type = (enum rt5677_type)acpi_id->driver_data;
  5174	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 45325 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20170618/6326435c/attachment-0001.bin>


More information about the Alsa-devel mailing list