[PATCH 01/15] arm: use of_platform_default_populate() to populate default bus

kbuild test robot lkp at intel.com
Tue Jan 26 23:08:12 PST 2016


Hi Kefeng,

[auto build test ERROR on v4.5-rc1]
[cannot apply to arm-soc/for-next next-20160127]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url:    https://github.com/0day-ci/linux/commits/Kefeng-Wang/use-of_platform_default_populate-to-populate-default-bus/20160127-123512
config: arm-at91_dt_defconfig (attached as .config)
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=arm 

All errors (new ones prefixed by >>):

   arch/arm/mach-at91/at91rm9200.c: In function 'at91rm9200_dt_device_init':
>> arch/arm/mach-at91/at91rm9200.c:34:2: error: implicit declaration of function 'of_platform__default_populate' [-Werror=implicit-function-declaration]
     of_platform__default_populate(NULL, NULL, soc_dev);
     ^
   cc1: some warnings being treated as errors

vim +/of_platform__default_populate +34 arch/arm/mach-at91/at91rm9200.c

    28		struct device *soc_dev = NULL;
    29	
    30		soc = at91_soc_init(rm9200_socs);
    31		if (soc != NULL)
    32			soc_dev = soc_device_to_device(soc);
    33	
  > 34		of_platform__default_populate(NULL, NULL, soc_dev);
    35	
    36		arm_pm_idle = at91rm9200_idle;
    37		at91rm9200_pm_init();

---
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/octet-stream
Size: 20787 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20160127/15792d42/attachment-0001.obj>


More information about the linux-arm-kernel mailing list