From: kbuild test robot <lkp@intel.com> To: Crestez Dan Leonard <leonard.crestez@intel.com> Cc: kbuild-all@01.org, Jonathan Cameron <jic23@kernel.org>, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Hartmut Knaack <knaack.h@gmx.de>, Lars-Peter Clausen <lars@metafoo.de>, Peter Meerwald-Stadler <pmeerw@pmeerw.net>, Daniel Baluta <daniel.baluta@intel.com>, Crestez Dan Leonard <leonard.crestez@intel.com>, linux-i2c@vger.kernel.org, Wolfram Sang <wsa@the-dreams.de>, devicetree@vger.kernel.org, Rob Herring <robh+dt@kernel.org>, Pawel Moll <pawel.moll@arm.com>, Mark Rutland <mark.rutland@arm.com>, Ian Campbell <ijc+devicetree@hellion.org.uk>, Kumar Gala <galak@codeaurora.org>, Peter Rosin <peda@axentia.se> Subject: Re: [PATCH] iio: inv_mpu6050: Add support for auxiliary I2C master Date: Thu, 21 Apr 2016 02:17:59 +0800 [thread overview] Message-ID: <201604210259.xtIWnZqM%fengguang.wu@intel.com> (raw) In-Reply-To: <5b1937140558514b3e43ed2c21ee860ecbac61ec.1461172603.git.leonard.crestez@intel.com> [-- Attachment #1: Type: text/plain, Size: 2407 bytes --] 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 [-- Attachment #2: .config.gz --] [-- Type: application/octet-stream, Size: 21629 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: kbuild test robot <lkp@intel.com> Cc: kbuild-all@01.org, Jonathan Cameron <jic23@kernel.org>, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Hartmut Knaack <knaack.h@gmx.de>, Lars-Peter Clausen <lars@metafoo.de>, Peter Meerwald-Stadler <pmeerw@pmeerw.net>, Daniel Baluta <daniel.baluta@intel.com>, Crestez Dan Leonard <leonard.crestez@intel.com>, linux-i2c@vger.kernel.org, Wolfram Sang <wsa@the-dreams.de>, devicetree@vger.kernel.org, Rob Herring <robh+dt@kernel.org>, Pawel Moll <pawel.moll@arm.com>, Mark Rutland <mark.rutland@arm.com>, Ian Campbell <ijc+devicetree@hellion.org.uk>, Kumar Gala <galak@codeaurora.org>, Peter Rosin <peda@axentia.se> Subject: Re: [PATCH] iio: inv_mpu6050: Add support for auxiliary I2C master Date: Thu, 21 Apr 2016 02:17:59 +0800 [thread overview] Message-ID: <201604210259.xtIWnZqM%fengguang.wu@intel.com> (raw) In-Reply-To: <5b1937140558514b3e43ed2c21ee860ecbac61ec.1461172603.git.leonard.crestez@intel.com> [-- Attachment #1: Type: text/plain, Size: 2407 bytes --] 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 [-- Attachment #2: .config.gz --] [-- Type: application/octet-stream, Size: 21629 bytes --]
next prev parent reply other threads:[~2016-04-20 18:18 UTC|newest] Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top 2016-04-20 17:17 [PATCH] iio: inv_mpu6050: Add support for auxiliary I2C master Crestez Dan Leonard 2016-04-20 18:17 ` kbuild test robot [this message] 2016-04-20 18:17 ` kbuild test robot 2016-04-21 10:02 ` Crestez Dan Leonard 2016-04-23 21:32 ` Jonathan Cameron 2016-04-27 8:39 ` Peter Rosin 2016-04-27 8:39 ` Peter Rosin 2016-04-28 10:39 ` Crestez Dan Leonard 2016-04-29 9:29 ` Peter Rosin 2016-04-29 9:29 ` Peter Rosin 2016-04-29 10:09 ` Peter Rosin 2016-04-29 10:09 ` Peter Rosin 2016-04-20 20:31 Peter Rosin 2016-04-20 20:31 ` Peter Rosin 2016-04-21 12:01 ` Crestez Dan Leonard 2016-04-21 13:56 Peter Rosin 2016-04-21 13:56 ` Peter Rosin 2016-04-21 13:56 ` Peter Rosin 2016-04-22 10:15 ` Crestez Dan Leonard 2016-04-22 11:01 Peter Rosin
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=201604210259.xtIWnZqM%fengguang.wu@intel.com \ --to=lkp@intel.com \ --cc=daniel.baluta@intel.com \ --cc=devicetree@vger.kernel.org \ --cc=galak@codeaurora.org \ --cc=ijc+devicetree@hellion.org.uk \ --cc=jic23@kernel.org \ --cc=kbuild-all@01.org \ --cc=knaack.h@gmx.de \ --cc=lars@metafoo.de \ --cc=leonard.crestez@intel.com \ --cc=linux-i2c@vger.kernel.org \ --cc=linux-iio@vger.kernel.org \ --cc=linux-kernel@vger.kernel.org \ --cc=mark.rutland@arm.com \ --cc=pawel.moll@arm.com \ --cc=peda@axentia.se \ --cc=pmeerw@pmeerw.net \ --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: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.