mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: rkir@google.com
Cc: kbuild-all@01.org, gregkh@linuxfoundation.org,
	linux-kernel@vger.kernel.org, Roman Kiryanov <rkir@google.com>
Subject: Re: [PATCH] drivers: platform: goldfish_sync: add a driver
Date: Sat, 5 Jan 2019 15:44:59 +0800	[thread overview]
Message-ID: <201901051525.z0d1I386%fengguang.wu@intel.com> (raw)
In-Reply-To: <20190105005354.8022-1-rkir@google.com>

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

Hi Roman,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on linus/master]
[also build test ERROR on v4.20 next-20190103]
[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/rkir-google-com/drivers-platform-goldfish_sync-add-a-driver/20190105-123342
config: arm-allmodconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 7.2.0-11) 7.2.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        GCC_VERSION=7.2.0 make.cross ARCH=arm 

All errors (new ones prefixed by >>):

>> drivers/platform/goldfish/goldfish_sync.c:807:34: error: array type has incomplete element type 'struct of_device_id'
    static const struct of_device_id goldfish_sync_of_match[] = {
                                     ^~~~~~~~~~~~~~~~~~~~~~
>> drivers/platform/goldfish/goldfish_sync.c:808:4: error: field name not in record or union initializer
     { .compatible = "google,goldfish-sync", },
       ^
   drivers/platform/goldfish/goldfish_sync.c:808:4: note: (near initialization for 'goldfish_sync_of_match')
>> drivers/platform/goldfish/goldfish_sync.c:813:36: error: array type has incomplete element type 'struct acpi_device_id'
    static const struct acpi_device_id goldfish_sync_acpi_match[] = {
                                       ^~~~~~~~~~~~~~~~~~~~~~~~

vim +807 drivers/platform/goldfish/goldfish_sync.c

   806	
 > 807	static const struct of_device_id goldfish_sync_of_match[] = {
 > 808		{ .compatible = "google,goldfish-sync", },
   809		{},
   810	};
   811	MODULE_DEVICE_TABLE(of, goldfish_sync_of_match);
   812	
 > 813	static const struct acpi_device_id goldfish_sync_acpi_match[] = {
   814		{ "GFSH0006", 0 },
   815		{ },
   816	};
   817	MODULE_DEVICE_TABLE(acpi, goldfish_sync_acpi_match);
   818	

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

      reply	other threads:[~2019-01-05  7:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-05  0:53 rkir
2019-01-05  7:44 ` kbuild test robot [this message]

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=201901051525.z0d1I386%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=kbuild-all@01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rkir@google.com \
    /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®