Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752086AbcDUKCp (ORCPT ); Thu, 21 Apr 2016 06:02:45 -0400 Received: from mga01.intel.com ([192.55.52.88]:9394 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751633AbcDUKCo (ORCPT ); Thu, 21 Apr 2016 06:02:44 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,512,1455004800"; d="scan'208";a="949844614" From: Crestez Dan Leonard Subject: Re: [PATCH] iio: inv_mpu6050: Add support for auxiliary I2C master To: linux-iio@vger.kernel.org References: <201604210259.xtIWnZqM%fengguang.wu@intel.com> Cc: kbuild-all@01.org, linux-kernel@vger.kernel.org, Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , Daniel Baluta , linux-i2c@vger.kernel.org, Wolfram Sang , Peter Rosin , Jonathan Cameron Message-ID: <5718A53E.90101@intel.com> Date: Thu, 21 Apr 2016 13:02:38 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.1 MIME-Version: 1.0 In-Reply-To: <201604210259.xtIWnZqM%fengguang.wu@intel.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1388 Lines: 27 On 04/20/2016 09:17 PM, kbuild test robot wrote: > 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 This error happens if you disable CONFIG_I2C and only compile with SPI support. I will add a bunch of #ifdef CONFIG_I2C in the next version.