Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1383624
| From | kbuild test robot <lkp@intel.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] iio: inv_mpu6050: Add support for auxiliary I2C master |
| Date | 2016-04-20 20:20 +0200 |
| Message-ID | <rq4Tg-3DS-11@gated-at.bofh.it> (permalink) |
| References | <rq3Xc-2Z1-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
Hi,
[auto build test ERROR on iio/togreg]
[also build test ERROR on v4.6-rc4 next-20160420]
[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/Crestez-Dan-Leonard/iio-inv_mpu6050-Add-support-for-auxiliary-I2C-master/20160421-012042
base: https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git togreg
config: i386-randconfig-i1-201616 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=i386
All errors (new ones prefixed by >>):
drivers/iio/imu/inv_mpu6050/inv_mpu_core.c: In function 'inv_mpu_core_probe':
>> drivers/iio/imu/inv_mpu6050/inv_mpu_core.c:966:11: error: implicit declaration of function 'i2c_add_adapter' [-Werror=implicit-function-declaration]
result = i2c_add_adapter(&st->aux_master_adapter);
^
>> drivers/iio/imu/inv_mpu6050/inv_mpu_core.c:983:2: error: implicit declaration of function 'i2c_del_adapter' [-Werror=implicit-function-declaration]
i2c_del_adapter(&st->aux_master_adapter);
^
cc1: some warnings being treated as errors
vim +/i2c_add_adapter +966 drivers/iio/imu/inv_mpu6050/inv_mpu_core.c
960 snprintf(st->aux_master_adapter.name, sizeof(st->aux_master_adapter.name),
961 "aux-master-%s", indio_dev->name);
962 st->aux_master_adapter.dev.of_node = of_get_child_by_name(
963 dev->of_node, "i2c-aux-master");
964 i2c_set_adapdata(&st->aux_master_adapter, st);
965 /* This will also probe aux devices so transfers must work now */
> 966 result = i2c_add_adapter(&st->aux_master_adapter);
967 if (result < 0) {
968 dev_err(dev, "i2x aux master register fail %d\n", result);
969 goto out_remove_trigger;
970 }
971
972 INIT_KFIFO(st->timestamps);
973 spin_lock_init(&st->time_stamp_lock);
974 result = iio_device_register(indio_dev);
975 if (result) {
976 dev_err(dev, "IIO register fail %d\n", result);
977 goto out_del_adapter;
978 }
979
980 return 0;
981
982 out_del_adapter:
> 983 i2c_del_adapter(&st->aux_master_adapter);
984 out_remove_trigger:
985 inv_mpu6050_remove_trigger(st);
986 out_unreg_ring:
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH] iio: inv_mpu6050: Add support for auxiliary I2C master Crestez Dan Leonard <leonard.crestez@intel.com> - 2016-04-20 19:20 +0200
Re: [PATCH] iio: inv_mpu6050: Add support for auxiliary I2C master kbuild test robot <lkp@intel.com> - 2016-04-20 20:20 +0200
Re: [PATCH] iio: inv_mpu6050: Add support for auxiliary I2C master Crestez Dan Leonard <leonard.crestez@intel.com> - 2016-04-21 12:10 +0200
Re: [PATCH] iio: inv_mpu6050: Add support for auxiliary I2C master Jonathan Cameron <jic23@kernel.org> - 2016-04-23 23:40 +0200
csiph-web