tree: https://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git renesas/topic/rcar-i2c-recovery head: 3b8d1dbaefe52dfbecef1713d028e446c367d184 commit: 3991c5c80beaf7eb9bce61e0b2f8f449e351a38e [3/33] i2c: Switch to using gpiod interface for gpio bus recovery config: ia64-generic_defconfig (attached as .config) compiler: ia64-linux-gcc (GCC) 6.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout 3991c5c80beaf7eb9bce61e0b2f8f449e351a38e # save the attached .config to linux build tree make.cross ARCH=ia64 Note: the wsa/renesas/topic/rcar-i2c-recovery HEAD 3b8d1dbaefe52dfbecef1713d028e446c367d184 builds fine. It only hurts bisectibility. All errors (new ones prefixed by >>): drivers//i2c/i2c-core-base.c: In function 'get_scl_gpio_value': >> drivers//i2c/i2c-core-base.c:137:9: error: implicit declaration of function 'gpiod_get_value_cansleep' [-Werror=implicit-function-declaration] return gpiod_get_value_cansleep(adap->bus_recovery_info->scl_gpiod); ^~~~~~~~~~~~~~~~~~~~~~~~ drivers//i2c/i2c-core-base.c: In function 'set_scl_gpio_value': >> drivers//i2c/i2c-core-base.c:142:2: error: implicit declaration of function 'gpiod_set_value_cansleep' [-Werror=implicit-function-declaration] gpiod_set_value_cansleep(adap->bus_recovery_info->scl_gpiod, val); ^~~~~~~~~~~~~~~~~~~~~~~~ drivers//i2c/i2c-core-base.c: In function 'i2c_get_gpios_for_recovery': drivers//i2c/i2c-core-base.c:162:19: error: implicit declaration of function 'gpio_to_desc' [-Werror=implicit-function-declaration] bri->scl_gpiod = gpio_to_desc(bri->scl_gpio); ^~~~~~~~~~~~ drivers//i2c/i2c-core-base.c:162:17: warning: assignment makes pointer from integer without a cast [-Wint-conversion] bri->scl_gpiod = gpio_to_desc(bri->scl_gpio); ^ drivers//i2c/i2c-core-base.c:171:18: warning: assignment makes pointer from integer without a cast [-Wint-conversion] bri->sda_gpiod = gpio_to_desc(bri->sda_gpio); ^ cc1: some warnings being treated as errors vim +/gpiod_get_value_cansleep +137 drivers//i2c/i2c-core-base.c 133 134 /* i2c bus recovery routines */ 135 static int get_scl_gpio_value(struct i2c_adapter *adap) 136 { > 137 return gpiod_get_value_cansleep(adap->bus_recovery_info->scl_gpiod); 138 } 139 140 static void set_scl_gpio_value(struct i2c_adapter *adap, int val) 141 { > 142 gpiod_set_value_cansleep(adap->bus_recovery_info->scl_gpiod, val); 143 } 144 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip