tree: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master head: 3d40e44361eab3dd6c969241d12dac7466eb7174 commit: cc30c16344fc3a25153175c7eb9037b2136cd466 [48/50] net: dsa: Add support for a switch reset gpio config: mips-allyesconfig (attached as .config) reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout cc30c16344fc3a25153175c7eb9037b2136cd466 # save the attached .config to linux build tree make.cross ARCH=mips
All error/warnings (new ones prefixed by >>): net/dsa/dsa.c: In function 'dsa_of_probe': >> net/dsa/dsa.c:783:16: error: implicit declaration of function 'gpio_to_desc' >> [-Werror=implicit-function-declaration] cd->reset = gpio_to_desc(gpio); ^ >> net/dsa/dsa.c:783:14: warning: assignment makes pointer from integer without >> a cast [-Wint-conversion] cd->reset = gpio_to_desc(gpio); ^ >> net/dsa/dsa.c:784:4: error: implicit declaration of function >> 'gpiod_direction_output' [-Werror=implicit-function-declaration] gpiod_direction_output(cd->reset, 0); ^ cc1: some warnings being treated as errors vim +/gpio_to_desc +783 net/dsa/dsa.c 777 GPIOF_ACTIVE_LOW : 0); 778 ret = devm_gpio_request_one(dev, gpio, flags, 779 "switch_reset"); 780 if (ret) 781 goto out_free_chip; 782 > 783 cd->reset = gpio_to_desc(gpio); > 784 gpiod_direction_output(cd->reset, 0); 785 } 786 787 for_each_available_child_of_node(child, port) { --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
.config.gz
Description: Binary data