mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Randy Dunlap <rdunlap@infradead.org>
Cc: kbuild-all@01.org, LKML <linux-kernel@vger.kernel.org>,
	Andrew Morton <akpm@linux-foundation.org>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Subject: Re: [PATCH treewide] headers: separate mod_devicetable.h from platform_device.h
Date: Wed, 20 Jun 2018 03:51:56 +0800	[thread overview]
Message-ID: <201806200306.lcQrrmCP%fengguang.wu@intel.com> (raw)
In-Reply-To: <8f3c861c-af58-219c-00ef-8d269e9c6323@infradead.org>

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

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@redhat.com>
:::::: CC: Mauro Carvalho Chehab <mchehab@s-opensource.com>

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

  reply	other threads:[~2018-06-19 19:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-19 18:44 Randy Dunlap
2018-06-19 19:51 ` kbuild test robot [this message]
2018-06-19 23:06 ` kbuild test robot

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=201806200306.lcQrrmCP%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=akpm@linux-foundation.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=kbuild-all@01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rdunlap@infradead.org \
    /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

all inboxes | Powered by JetHome®