lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Wed, 20 Jun 2018 03:51:56 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Randy Dunlap <rdunlap@...radead.org>
Cc:     kbuild-all@...org, LKML <linux-kernel@...r.kernel.org>,
        Andrew Morton <akpm@...ux-foundation.org>,
        Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: Re: [PATCH treewide] headers: separate mod_devicetable.h from
 platform_device.h

Hi Randy,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on linus/master]
[also build test ERROR on v4.18-rc1 next-20180619]
[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/Randy-Dunlap/headers-separate-mod_devicetable-h-from-platform_device-h/20180620-030041
config: x86_64-randconfig-x000-201824 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-16) 7.3.0
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

>> drivers/media//platform/vimc/vimc-capture.c:520:40: error: array type has incomplete element type 'struct platform_device_id'
    static const struct platform_device_id vimc_cap_driver_ids[] = {
                                           ^~~~~~~~~~~~~~~~~~~
>> drivers/media//platform/vimc/vimc-capture.c:522:3: error: field name not in record or union initializer
      .name           = VIMC_CAP_DRV_NAME,
      ^
   drivers/media//platform/vimc/vimc-capture.c:522:3: note: (near initialization for 'vimc_cap_driver_ids')
   drivers/media//platform/vimc/vimc-capture.c:520:40: warning: 'vimc_cap_driver_ids' defined but not used [-Wunused-variable]
    static const struct platform_device_id vimc_cap_driver_ids[] = {
                                           ^~~~~~~~~~~~~~~~~~~
--
>> drivers/media//platform/vimc/vimc-debayer.c:580:40: error: array type has incomplete element type 'struct platform_device_id'
    static const struct platform_device_id vimc_deb_driver_ids[] = {
                                           ^~~~~~~~~~~~~~~~~~~
>> drivers/media//platform/vimc/vimc-debayer.c:582:3: error: field name not in record or union initializer
      .name           = VIMC_DEB_DRV_NAME,
      ^
   drivers/media//platform/vimc/vimc-debayer.c:582:3: note: (near initialization for 'vimc_deb_driver_ids')
   drivers/media//platform/vimc/vimc-debayer.c:580:40: warning: 'vimc_deb_driver_ids' defined but not used [-Wunused-variable]
    static const struct platform_device_id vimc_deb_driver_ids[] = {
                                           ^~~~~~~~~~~~~~~~~~~
--
>> drivers/media//platform/vimc/vimc-scaler.c:434:40: error: array type has incomplete element type 'struct platform_device_id'
    static const struct platform_device_id vimc_sca_driver_ids[] = {
                                           ^~~~~~~~~~~~~~~~~~~
>> drivers/media//platform/vimc/vimc-scaler.c:436:3: error: field name not in record or union initializer
      .name           = VIMC_SCA_DRV_NAME,
      ^
   drivers/media//platform/vimc/vimc-scaler.c:436:3: note: (near initialization for 'vimc_sca_driver_ids')
   drivers/media//platform/vimc/vimc-scaler.c:434:40: warning: 'vimc_sca_driver_ids' defined but not used [-Wunused-variable]
    static const struct platform_device_id vimc_sca_driver_ids[] = {
                                           ^~~~~~~~~~~~~~~~~~~
--
>> drivers/media//platform/vimc/vimc-sensor.c:437:40: error: array type has incomplete element type 'struct platform_device_id'
    static const struct platform_device_id vimc_sen_driver_ids[] = {
                                           ^~~~~~~~~~~~~~~~~~~
>> drivers/media//platform/vimc/vimc-sensor.c:439:3: error: field name not in record or union initializer
      .name           = VIMC_SEN_DRV_NAME,
      ^
   drivers/media//platform/vimc/vimc-sensor.c:439:3: note: (near initialization for 'vimc_sen_driver_ids')
   drivers/media//platform/vimc/vimc-sensor.c:437:40: warning: 'vimc_sen_driver_ids' defined but not used [-Wunused-variable]
    static const struct platform_device_id vimc_sen_driver_ids[] = {
                                           ^~~~~~~~~~~~~~~~~~~

vim +520 drivers/media//platform/vimc/vimc-capture.c

4a29b709 Helen Fornazier          2017-06-19  519  
bf183e0f Javier Martinez Canillas 2017-07-14 @520  static const struct platform_device_id vimc_cap_driver_ids[] = {
bf183e0f Javier Martinez Canillas 2017-07-14  521  	{
4a29b709 Helen Fornazier          2017-06-19 @522  		.name           = VIMC_CAP_DRV_NAME,
4a29b709 Helen Fornazier          2017-06-19  523  	},
bf183e0f Javier Martinez Canillas 2017-07-14  524  	{ }
4a29b709 Helen Fornazier          2017-06-19  525  };
4a29b709 Helen Fornazier          2017-06-19  526  

:::::: The code at line 520 was first introduced by commit
:::::: bf183e0fed825991bc7c9466d0403c8c1c326c4d media: vimc: set id_table for platform drivers

:::::: TO: Javier Martinez Canillas <javierm@...hat.com>
:::::: CC: Mauro Carvalho Chehab <mchehab@...pensource.com>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Download attachment ".config.gz" of type "application/gzip" (27032 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ