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 2/2] i2c: Add Spreadtrum I2C controller driver
Date: Sat, 17 Jun 2017 01:10:06 +0800	[thread overview]
Message-ID: <201706170151.4MfWrX0X%fengguang.wu@intel.com> (raw)
In-Reply-To: <f3cdd27dcfa2ca6347502608928081fb9271c0b5.1497525667.git.baolin.wang@spreadtrum.com>

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

Hi Baolin,

[auto build test ERROR on wsa/i2c/for-next]
[also build test ERROR on v4.12-rc5 next-20170616]
[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/20170616-072616
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 error/warnings (new ones prefixed by >>):

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

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

   675	};
   676	
   677	static int __init sprd_i2c_init(void)
   678	{
   679		return platform_driver_register(&sprd_i2c_driver);
   680	}
 > 681	arch_initcall_sync(sprd_i2c_init);
   682	
   683	static void __exit sprd_i2c_exit(void)
   684	{

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

  reply	other threads:[~2017-06-16 17:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-15 11:30 [PATCH 1/2] dt-bindings: i2c: Add Spreadtrum I2C controller documentation Baolin Wang
2017-06-15 11:30 ` [PATCH 2/2] i2c: Add Spreadtrum I2C controller driver Baolin Wang
2017-06-16 17:10   ` kbuild test robot [this message]
2017-06-17 17:18   ` Andy Shevchenko
2017-06-21  3:25     ` 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=201706170151.4MfWrX0X%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®