Hi Daniel, [auto build test ERROR on iio/togreg] [also build test ERROR on v4.6-rc1 next-20160401] [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/20160401-203058 base: https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git togreg config: sh-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=sh All errors (new ones prefixed by >>): drivers/iio/imu/bmi160/bmi160_i2c.c:57:1: warning: data definition has no type or storage class [enabled by default] drivers/iio/imu/bmi160/bmi160_i2c.c:57:1: error: type defaults to 'int' in declaration of 'MODULE_DEVICE_TABLE' [-Werror=implicit-int] drivers/iio/imu/bmi160/bmi160_i2c.c:57:1: warning: parameter names (without types) in function declaration [enabled by default] drivers/iio/imu/bmi160/bmi160_i2c.c:63:1: warning: data definition has no type or storage class [enabled by default] drivers/iio/imu/bmi160/bmi160_i2c.c:63:1: error: type defaults to 'int' in declaration of 'MODULE_DEVICE_TABLE' [-Werror=implicit-int] drivers/iio/imu/bmi160/bmi160_i2c.c:63:1: warning: parameter names (without types) in function declaration [enabled by default] drivers/iio/imu/bmi160/bmi160_i2c.c:75:1: warning: data definition has no type or storage class [enabled by default] >> drivers/iio/imu/bmi160/bmi160_i2c.c:75:1: error: type defaults to 'int' in declaration of 'module_init' [-Werror=implicit-int] drivers/iio/imu/bmi160/bmi160_i2c.c:75:1: warning: parameter names (without types) in function declaration [enabled by default] drivers/iio/imu/bmi160/bmi160_i2c.c:75:1: warning: data definition has no type or storage class [enabled by default] >> drivers/iio/imu/bmi160/bmi160_i2c.c:75:1: error: type defaults to 'int' in declaration of 'module_exit' [-Werror=implicit-int] drivers/iio/imu/bmi160/bmi160_i2c.c:75:1: warning: parameter names (without types) in function declaration [enabled by default] drivers/iio/imu/bmi160/bmi160_i2c.c:77:15: error: expected declaration specifiers or '...' before string constant drivers/iio/imu/bmi160/bmi160_i2c.c:78:20: error: expected declaration specifiers or '...' before string constant drivers/iio/imu/bmi160/bmi160_i2c.c:79:16: error: expected declaration specifiers or '...' before string constant drivers/iio/imu/bmi160/bmi160_i2c.c:75:1: warning: 'bmi160_i2c_driver_init' defined but not used [-Wunused-function] cc1: some warnings being treated as errors -- drivers/iio/imu/bmi160/bmi160_spi.c:50:1: warning: data definition has no type or storage class [enabled by default] drivers/iio/imu/bmi160/bmi160_spi.c:50:1: error: type defaults to 'int' in declaration of 'MODULE_DEVICE_TABLE' [-Werror=implicit-int] drivers/iio/imu/bmi160/bmi160_spi.c:50:1: warning: parameter names (without types) in function declaration [enabled by default] drivers/iio/imu/bmi160/bmi160_spi.c:56:1: warning: data definition has no type or storage class [enabled by default] drivers/iio/imu/bmi160/bmi160_spi.c:56:1: error: type defaults to 'int' in declaration of 'MODULE_DEVICE_TABLE' [-Werror=implicit-int] drivers/iio/imu/bmi160/bmi160_spi.c:56:1: warning: parameter names (without types) in function declaration [enabled by default] drivers/iio/imu/bmi160/bmi160_spi.c:67:1: warning: data definition has no type or storage class [enabled by default] >> drivers/iio/imu/bmi160/bmi160_spi.c:67:1: error: type defaults to 'int' in declaration of 'module_init' [-Werror=implicit-int] drivers/iio/imu/bmi160/bmi160_spi.c:67:1: warning: parameter names (without types) in function declaration [enabled by default] drivers/iio/imu/bmi160/bmi160_spi.c:67:1: warning: data definition has no type or storage class [enabled by default] >> drivers/iio/imu/bmi160/bmi160_spi.c:67:1: error: type defaults to 'int' in declaration of 'module_exit' [-Werror=implicit-int] drivers/iio/imu/bmi160/bmi160_spi.c:67:1: warning: parameter names (without types) in function declaration [enabled by default] drivers/iio/imu/bmi160/bmi160_spi.c:69:15: error: expected declaration specifiers or '...' before string constant drivers/iio/imu/bmi160/bmi160_spi.c:70:20: error: expected declaration specifiers or '...' before string constant drivers/iio/imu/bmi160/bmi160_spi.c:71:16: error: expected declaration specifiers or '...' before string constant drivers/iio/imu/bmi160/bmi160_spi.c:67:1: warning: 'bmi160_spi_driver_init' defined but not used [-Wunused-function] cc1: some warnings being treated as errors vim +75 drivers/iio/imu/bmi160/bmi160_i2c.c 51 } 52 53 static const struct i2c_device_id bmi160_i2c_id[] = { 54 {"bmi160", 0}, 55 {} 56 }; > 57 MODULE_DEVICE_TABLE(i2c, bmi160_i2c_id); 58 59 static const struct acpi_device_id bmi160_acpi_match[] = { 60 {"BMI0160", 0}, 61 { }, 62 }; 63 MODULE_DEVICE_TABLE(acpi, bmi160_acpi_match); 64 65 static struct i2c_driver bmi160_i2c_driver = { 66 .driver = { 67 .name = BMI160_I2C_DRV_NAME, 68 .acpi_match_table = ACPI_PTR(bmi160_acpi_match), 69 }, 70 .probe = bmi160_i2c_probe, 71 .remove = bmi160_i2c_remove, 72 .id_table = bmi160_i2c_id, 73 }; 74 > 75 module_i2c_driver(bmi160_i2c_driver); 76 77 MODULE_AUTHOR("Daniel Baluta <daniel.baluta@xxxxxxxxx>"); 78 MODULE_DESCRIPTION("BMI160 I2C driver"); --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: Binary data