Re: [PATCH v3] gpio: winbond: add driver

From: kbuild test robot
Date: Tue Jan 02 2018 - 12:52:49 EST


Hi Maciej,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on gpio/for-next]
[also build test ERROR on v4.15-rc6 next-20180102]
[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/Maciej-S-Szmigiero/gpio-winbond-add-driver/20180103-011623
base: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git for-next
config: mips-allmodconfig (attached as .config)
compiler: mips-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=mips

All errors (new ones prefixed by >>):

>> drivers/gpio/Kconfig:13:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
drivers/gpio/Kconfig:13: symbol GPIOLIB is selected by STX104
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
drivers/iio/adc/Kconfig:659: symbol STX104 depends on ISA_BUS_API
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
arch/Kconfig:818: symbol ISA_BUS_API is selected by GPIO_WINBOND
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
drivers/gpio/Kconfig:701: symbol GPIO_WINBOND depends on GPIOLIB
.config:9795:warning: symbol value '' invalid for MIPS_CPS_NS16550_BASE
.config:9796:warning: symbol value '' invalid for MIPS_CPS_NS16550_SHIFT
--
>> drivers/gpio/Kconfig:13:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
drivers/gpio/Kconfig:13: symbol GPIOLIB is selected by STX104
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
drivers/iio/adc/Kconfig:659: symbol STX104 depends on ISA_BUS_API
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
arch/Kconfig:818: symbol ISA_BUS_API is selected by GPIO_WINBOND
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
drivers/gpio/Kconfig:701: symbol GPIO_WINBOND depends on GPIOLIB
.config:9795:warning: symbol value '' invalid for MIPS_CPS_NS16550_BASE
.config:9796:warning: symbol value '' invalid for MIPS_CPS_NS16550_SHIFT
make[3]: *** [silentoldconfig] Error 1
make[2]: *** [silentoldconfig] Error 2
make[1]: *** No rule to make target 'include/config/auto.conf', needed by 'include/config/kernel.release'.
make[1]: Target 'prepare' not remade because of errors.
make: *** [sub-make] Error 2

vim +13 drivers/gpio/Kconfig

a9c5fff5 David Brownell 2008-02-04 4
7563bbf8 Mark Brown 2012-04-15 5 config ARCH_HAVE_CUSTOM_GPIO_H
7563bbf8 Mark Brown 2012-04-15 6 bool
7563bbf8 Mark Brown 2012-04-15 7 help
7563bbf8 Mark Brown 2012-04-15 8 Selecting this config option from the architecture Kconfig allows
7563bbf8 Mark Brown 2012-04-15 9 the architecture to provide a custom asm/gpio.h implementation
7563bbf8 Mark Brown 2012-04-15 10 overriding the default implementations. New uses of this are
7563bbf8 Mark Brown 2012-04-15 11 strongly discouraged.
7563bbf8 Mark Brown 2012-04-15 12
7444a72e Michael Buesch 2008-07-25 @13 menuconfig GPIOLIB
7444a72e Michael Buesch 2008-07-25 14 bool "GPIO Support"
60a5eaba Linus Walleij 2016-06-08 15 select ANON_INODES
7444a72e Michael Buesch 2008-07-25 16 help
7444a72e Michael Buesch 2008-07-25 17 This enables GPIO support through the generic GPIO library.
7444a72e Michael Buesch 2008-07-25 18 You only need to enable this, if you also want to enable
e849dc04 Linus Walleij 2011-05-20 19 one or more of the GPIO drivers below.
7444a72e Michael Buesch 2008-07-25 20
7444a72e Michael Buesch 2008-07-25 21 If unsure, say N.
a9c5fff5 David Brownell 2008-02-04 22

:::::: The code at line 13 was first introduced by commit
:::::: 7444a72effa632fcd8edc566f880d96fe213c73b gpiolib: allow user-selection

:::::: TO: Michael Buesch <mb@xxxxxxxxx>
:::::: CC: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: application/gzip