Hi Furquan, [auto build test ERROR on regulator/for-next] [also build test ERROR on v4.10-rc5 next-20170125] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Furquan-Shaikh/Implement-generic-regulator-constraints-parsing-for-ACPI-and-OF/20170125-171807 base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next config: i386-randconfig-x004-201704 (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: # save the attached .config to linux build tree make ARCH=i386 All errors (new ones prefixed by >>): drivers/gpio/gpiolib.c: In function 'gpiod_lookup_index': >> drivers/gpio/gpiolib.c:3221:44: error: 'flags' undeclared (first use in this function) desc = acpi_find_gpio(dev, con_id, idx, flags, &lookupflags); ^~~~~ drivers/gpio/gpiolib.c:3221:44: note: each undeclared identifier is reported only once for each function it appears in vim +/flags +3221 drivers/gpio/gpiolib.c bae48da23 Alexandre Courbot 2013-10-17 3215 /* Using device tree? */ 4d8440b93 Rafael J. Wysocki 2015-03-10 3216 if (IS_ENABLED(CONFIG_OF) && dev->of_node) { bae48da23 Alexandre Courbot 2013-10-17 3217 dev_dbg(dev, "using device tree for GPIO lookup\n"); 39b2bbe3d Alexandre Courbot 2014-07-25 3218 desc = of_find_gpio(dev, con_id, idx, &lookupflags); 4d8440b93 Rafael J. Wysocki 2015-03-10 3219 } else if (ACPI_COMPANION(dev)) { 81f59e9d1 Mika Westerberg 2013-10-10 3220 dev_dbg(dev, "using ACPI for GPIO lookup\n"); 25487533f Dmitry Torokhov 2016-03-24 @3221 desc = acpi_find_gpio(dev, con_id, idx, flags, &lookupflags); 35c5d7fdc Alexandre Courbot 2013-11-23 3222 } 4d8440b93 Rafael J. Wysocki 2015-03-10 3223 } 35c5d7fdc Alexandre Courbot 2013-11-23 3224 :::::: The code at line 3221 was first introduced by commit :::::: 25487533ff311014b0cc39ed7fd721c114e1b11f gpio / ACPI: ignore GpioInt() GPIOs when requesting GPIO_OUT_* :::::: TO: Dmitry Torokhov <dtor@xxxxxxxxxxxx> :::::: CC: Linus Walleij <linus.walleij@xxxxxxxxxx> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip