[alsa-devel] [PATCH 2/2] mfd: twl4030-audio: make module DT only

kbuild test robot lkp at intel.com
Tue Nov 15 10:55:12 CET 2016


Hi Nicolae,

[auto build test ERROR on asoc/for-next]
[also build test ERROR on v4.9-rc5 next-20161115]
[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/Nicolae-Rosia/ASoC-omap-twl4030-rework-probing-for-device-tree-only/20161115-165843
base:   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
config: i386-randconfig-s1-201646 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   drivers/mfd/twl-core.c: In function 'add_children':
>> drivers/mfd/twl-core.c:858:26: error: dereferencing pointer to incomplete type 'struct twl4030_audio_data'
        pdata->audio, sizeof(*pdata->audio),
                             ^~~~~~~~~~~~~

vim +858 drivers/mfd/twl-core.c

80e45b1e drivers/mfd/twl4030-core.c Timo Kokkonen     2009-03-27  852  			return PTR_ERR(child);
80e45b1e drivers/mfd/twl4030-core.c Timo Kokkonen     2009-03-27  853  	}
80e45b1e drivers/mfd/twl4030-core.c Timo Kokkonen     2009-03-27  854  
f78959cf drivers/mfd/twl-core.c     Thierry Reding    2012-09-18  855  	if (IS_ENABLED(CONFIG_MFD_TWL4030_AUDIO) && pdata->audio &&
f78959cf drivers/mfd/twl-core.c     Thierry Reding    2012-09-18  856  	    twl_class_is_4030()) {
3c330279 drivers/mfd/twl-core.c     Peter Ujfalusi    2013-01-16  857  		child = add_child(TWL4030_MODULE_AUDIO_VOICE, "twl4030-audio",
4ae6df5e drivers/mfd/twl-core.c     Peter Ujfalusi    2011-05-31 @858  				pdata->audio, sizeof(*pdata->audio),
d62abe56 drivers/mfd/twl-core.c     Misael Lopez Cruz 2010-02-23  859  				false, 0, 0);
d62abe56 drivers/mfd/twl-core.c     Misael Lopez Cruz 2010-02-23  860  		if (IS_ERR(child))
d62abe56 drivers/mfd/twl-core.c     Misael Lopez Cruz 2010-02-23  861  			return PTR_ERR(child);

:::::: The code at line 858 was first introduced by commit
:::::: 4ae6df5e1018796ce260be59b2c603bd0f9faa94 MFD: twl4030-audio: Rename platform data

:::::: TO: Peter Ujfalusi <peter.ujfalusi at ti.com>
:::::: CC: Peter Ujfalusi <peter.ujfalusi at ti.com>

---
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: 20736 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20161115/263768f9/attachment-0001.bin>


More information about the Alsa-devel mailing list