mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Baolin Wang <baolin.wang@spreadtrum.com>
Cc: kbuild-all@01.org, wsa@the-dreams.de, mark.rutland@arm.com,
	robh+dt@kernel.org, linux-i2c@vger.kernel.org,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	broonie@kernel.org, baolin.wang@linaro.org,
	baolin.wang@spreadtrum.com
Subject: Re: [PATCH v2 2/2] i2c: Add Spreadtrum I2C controller driver
Date: Sun, 25 Jun 2017 09:18:10 +0800	[thread overview]
Message-ID: <201706250900.UJASyU1s%fengguang.wu@intel.com> (raw)
In-Reply-To: <01e8aa0450b294c0a9b4aeefcf99f35ced953fc9.1498029380.git.baolin.wang@spreadtrum.com>

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

Hi Baolin,

[auto build test ERROR on wsa/i2c/for-next]
[also build test ERROR on v4.12-rc6 next-20170623]
[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/Baolin-Wang/dt-bindings-i2c-Add-Spreadtrum-I2C-controller-documentation/20170622-111344
base:   https://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git i2c/for-next
config: arm64-allmodconfig (attached as .config)
compiler: aarch64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=arm64 

All errors (new ones prefixed by >>):

   drivers/i2c/busses/i2c-sprd.c:686:1: warning: data definition has no type or storage class
    arch_initcall_sync(sprd_i2c_init);
    ^~~~~~~~~~~~~~~~~~
>> drivers/i2c/busses/i2c-sprd.c:686:1: error: type defaults to 'int' in declaration of 'arch_initcall_sync' [-Werror=implicit-int]
   drivers/i2c/busses/i2c-sprd.c:686:1: warning: parameter names (without types) in function declaration
   drivers/i2c/busses/i2c-sprd.c:682:12: warning: 'sprd_i2c_init' defined but not used [-Wunused-function]
    static int sprd_i2c_init(void)
               ^~~~~~~~~~~~~
   cc1: some warnings being treated as errors

vim +686 drivers/i2c/busses/i2c-sprd.c

   680	};
   681	
   682	static int sprd_i2c_init(void)
   683	{
   684		return platform_driver_register(&sprd_i2c_driver);
   685	}
 > 686	arch_initcall_sync(sprd_i2c_init);
   687	
   688	static void sprd_i2c_exit(void)
   689	{

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

  reply	other threads:[~2017-06-25  1:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-21  7:23 [PATCH v2 1/2] dt-bindings: i2c: Add Spreadtrum I2C controller documentation Baolin Wang
2017-06-21  7:23 ` [PATCH v2 2/2] i2c: Add Spreadtrum I2C controller driver Baolin Wang
2017-06-25  1:18   ` kbuild test robot [this message]
2017-06-25 15:06   ` Andy Shevchenko
2017-06-26  9:29     ` Baolin Wang
2017-06-23 22:20 ` [PATCH v2 1/2] dt-bindings: i2c: Add Spreadtrum I2C controller documentation Rob Herring
2017-06-26  2:40   ` Baolin Wang

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=201706250900.UJASyU1s%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=baolin.wang@linaro.org \
    --cc=baolin.wang@spreadtrum.com \
    --cc=broonie@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=kbuild-all@01.org \
    --cc=linux-i2c@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=robh+dt@kernel.org \
    --cc=wsa@the-dreams.de \
    /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®