mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Daniel Baluta <daniel.baluta@intel.com>
Cc: kbuild-all@01.org, jic23@kernel.org, knaack.h@gmx.de,
	lars@metafoo.de, pmeerw@pmeerw.net, linux-iio@vger.kernel.org,
	linux-kernel@vger.kernel.org, lucas.demarchi@intel.com,
	daniel.baluta@intel.com
Subject: Re: [PATCH v2] iio: imu: Add initial support for Bosch BMI160
Date: Wed, 6 Apr 2016 08:35:27 +0800	[thread overview]
Message-ID: <201604060842.0wXu9EYi%fengguang.wu@intel.com> (raw)
In-Reply-To: <1459870318-17319-1-git-send-email-daniel.baluta@intel.com>

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

Hi Daniel,

[auto build test ERROR on iio/togreg]
[also build test ERROR on v4.6-rc2 next-20160405]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url:    https://github.com/0day-ci/linux/commits/Daniel-Baluta/iio-imu-Add-initial-support-for-Bosch-BMI160/20160405-233813
base:   https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git togreg
config: openrisc-allyesconfig (attached as .config)
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=openrisc 

All errors (new ones prefixed by >>):

   drivers/iio/imu/bmi160/bmi160_i2c.c:50:1: warning: data definition has no type or storage class
   drivers/iio/imu/bmi160/bmi160_i2c.c:50:1: error: type defaults to 'int' in declaration of 'MODULE_DEVICE_TABLE'
   drivers/iio/imu/bmi160/bmi160_i2c.c:50:1: warning: parameter names (without types) in function declaration
   drivers/iio/imu/bmi160/bmi160_i2c.c:56:1: warning: data definition has no type or storage class
   drivers/iio/imu/bmi160/bmi160_i2c.c:56:1: error: type defaults to 'int' in declaration of 'MODULE_DEVICE_TABLE'
   drivers/iio/imu/bmi160/bmi160_i2c.c:56:1: warning: parameter names (without types) in function declaration
   drivers/iio/imu/bmi160/bmi160_i2c.c:67:1: warning: data definition has no type or storage class
   drivers/iio/imu/bmi160/bmi160_i2c.c:67:1: error: type defaults to 'int' in declaration of 'module_init'
   drivers/iio/imu/bmi160/bmi160_i2c.c:67:1: warning: parameter names (without types) in function declaration
   drivers/iio/imu/bmi160/bmi160_i2c.c:67:1: warning: data definition has no type or storage class
   drivers/iio/imu/bmi160/bmi160_i2c.c:67:1: error: type defaults to 'int' in declaration of 'module_exit'
   drivers/iio/imu/bmi160/bmi160_i2c.c:67:1: warning: parameter names (without types) in function declaration
   drivers/iio/imu/bmi160/bmi160_i2c.c:69:15: error: expected declaration specifiers or '...' before string constant
   drivers/iio/imu/bmi160/bmi160_i2c.c:69:1: warning: data definition has no type or storage class
>> drivers/iio/imu/bmi160/bmi160_i2c.c:69:1: error: type defaults to 'int' in declaration of 'MODULE_AUTHOR'
>> drivers/iio/imu/bmi160/bmi160_i2c.c:69:15: error: function declaration isn't a prototype
   drivers/iio/imu/bmi160/bmi160_i2c.c:70:20: error: expected declaration specifiers or '...' before string constant
   drivers/iio/imu/bmi160/bmi160_i2c.c:70:1: warning: data definition has no type or storage class
>> drivers/iio/imu/bmi160/bmi160_i2c.c:70:1: error: type defaults to 'int' in declaration of 'MODULE_DESCRIPTION'
   drivers/iio/imu/bmi160/bmi160_i2c.c:70:20: error: function declaration isn't a prototype
   drivers/iio/imu/bmi160/bmi160_i2c.c:71:16: error: expected declaration specifiers or '...' before string constant
   drivers/iio/imu/bmi160/bmi160_i2c.c:71:1: warning: data definition has no type or storage class
>> drivers/iio/imu/bmi160/bmi160_i2c.c:71:1: error: type defaults to 'int' in declaration of 'MODULE_LICENSE'
   drivers/iio/imu/bmi160/bmi160_i2c.c:71:16: error: function declaration isn't a prototype
   drivers/iio/imu/bmi160/bmi160_i2c.c:67:1: warning: 'bmi160_i2c_driver_init' defined but not used
--
   drivers/iio/imu/bmi160/bmi160_spi.c:41:1: warning: data definition has no type or storage class
   drivers/iio/imu/bmi160/bmi160_spi.c:41:1: error: type defaults to 'int' in declaration of 'MODULE_DEVICE_TABLE'
   drivers/iio/imu/bmi160/bmi160_spi.c:41:1: warning: parameter names (without types) in function declaration
   drivers/iio/imu/bmi160/bmi160_spi.c:47:1: warning: data definition has no type or storage class
   drivers/iio/imu/bmi160/bmi160_spi.c:47:1: error: type defaults to 'int' in declaration of 'MODULE_DEVICE_TABLE'
   drivers/iio/imu/bmi160/bmi160_spi.c:47:1: warning: parameter names (without types) in function declaration
   drivers/iio/imu/bmi160/bmi160_spi.c:58:1: warning: data definition has no type or storage class
   drivers/iio/imu/bmi160/bmi160_spi.c:58:1: error: type defaults to 'int' in declaration of 'module_init'
   drivers/iio/imu/bmi160/bmi160_spi.c:58:1: warning: parameter names (without types) in function declaration
   drivers/iio/imu/bmi160/bmi160_spi.c:58:1: warning: data definition has no type or storage class
   drivers/iio/imu/bmi160/bmi160_spi.c:58:1: error: type defaults to 'int' in declaration of 'module_exit'
   drivers/iio/imu/bmi160/bmi160_spi.c:58:1: warning: parameter names (without types) in function declaration
   drivers/iio/imu/bmi160/bmi160_spi.c:60:15: error: expected declaration specifiers or '...' before string constant
   drivers/iio/imu/bmi160/bmi160_spi.c:60:1: warning: data definition has no type or storage class
>> drivers/iio/imu/bmi160/bmi160_spi.c:60:1: error: type defaults to 'int' in declaration of 'MODULE_AUTHOR'
>> drivers/iio/imu/bmi160/bmi160_spi.c:60:15: error: function declaration isn't a prototype
   drivers/iio/imu/bmi160/bmi160_spi.c:61:20: error: expected declaration specifiers or '...' before string constant
   drivers/iio/imu/bmi160/bmi160_spi.c:61:1: warning: data definition has no type or storage class
>> drivers/iio/imu/bmi160/bmi160_spi.c:61:1: error: type defaults to 'int' in declaration of 'MODULE_DESCRIPTION'
   drivers/iio/imu/bmi160/bmi160_spi.c:61:20: error: function declaration isn't a prototype
   drivers/iio/imu/bmi160/bmi160_spi.c:62:16: error: expected declaration specifiers or '...' before string constant
   drivers/iio/imu/bmi160/bmi160_spi.c:62:1: warning: data definition has no type or storage class
>> drivers/iio/imu/bmi160/bmi160_spi.c:62:1: error: type defaults to 'int' in declaration of 'MODULE_LICENSE'
   drivers/iio/imu/bmi160/bmi160_spi.c:62:16: error: function declaration isn't a prototype
   drivers/iio/imu/bmi160/bmi160_spi.c:58:1: warning: 'bmi160_spi_driver_init' defined but not used

vim +69 drivers/iio/imu/bmi160/bmi160_i2c.c

    63		.probe		= bmi160_i2c_probe,
    64		.remove		= bmi160_i2c_remove,
    65		.id_table	= bmi160_i2c_id,
    66	};
    67	module_i2c_driver(bmi160_i2c_driver);
    68	
  > 69	MODULE_AUTHOR("Daniel Baluta <daniel.baluta@intel.com>");
  > 70	MODULE_DESCRIPTION("BMI160 I2C driver");
  > 71	MODULE_LICENSE("GPL v2");

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

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 36953 bytes --]

      reply	other threads:[~2016-04-06  0:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-05 15:31 Daniel Baluta
2016-04-06  0:35 ` 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=201604060842.0wXu9EYi%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=daniel.baluta@intel.com \
    --cc=jic23@kernel.org \
    --cc=kbuild-all@01.org \
    --cc=knaack.h@gmx.de \
    --cc=lars@metafoo.de \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lucas.demarchi@intel.com \
    --cc=pmeerw@pmeerw.net \
    /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®