lkml.org 
[lkml]   [2017]   [Jul]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] gpio: add COMPILE_TEST to several drivers
Hi Masahiro,

[auto build test ERROR on gpio/for-next]
[cannot apply to v4.12]
[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/Masahiro-Yamada/gpio-add-COMPILE_TEST-to-several-drivers/20170706-070538
base: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git for-next
config: xtensa-allyesconfig (attached as .config)
compiler: xtensa-linux-gcc (GCC) 4.9.0
reproduce:
wget https://raw.githubusercontent.com/01org/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=xtensa

All errors (new ones prefixed by >>):

drivers//gpio/gpio-vf610.c: In function 'vf610_gpio_direction_input':
>> drivers//gpio/gpio-vf610.c:99:2: error: implicit declaration of function 'pinctrl_gpio_direction_input' [-Werror=implicit-function-declaration]
return pinctrl_gpio_direction_input(chip->base + gpio);
^
drivers//gpio/gpio-vf610.c: In function 'vf610_gpio_direction_output':
>> drivers//gpio/gpio-vf610.c:107:2: error: implicit declaration of function 'pinctrl_gpio_direction_output' [-Werror=implicit-function-declaration]
return pinctrl_gpio_direction_output(chip->base + gpio);
^
cc1: some warnings being treated as errors

vim +/pinctrl_gpio_direction_input +99 drivers//gpio/gpio-vf610.c

7f2691a1 Stefan Agner 2014-10-16 93 else
7f2691a1 Stefan Agner 2014-10-16 94 vf610_gpio_writel(mask, port->gpio_base + GPIO_PCOR);
7f2691a1 Stefan Agner 2014-10-16 95 }
7f2691a1 Stefan Agner 2014-10-16 96
7f2691a1 Stefan Agner 2014-10-16 97 static int vf610_gpio_direction_input(struct gpio_chip *chip, unsigned gpio)
7f2691a1 Stefan Agner 2014-10-16 98 {
7f2691a1 Stefan Agner 2014-10-16 @99 return pinctrl_gpio_direction_input(chip->base + gpio);
7f2691a1 Stefan Agner 2014-10-16 100 }
7f2691a1 Stefan Agner 2014-10-16 101
7f2691a1 Stefan Agner 2014-10-16 102 static int vf610_gpio_direction_output(struct gpio_chip *chip, unsigned gpio,
7f2691a1 Stefan Agner 2014-10-16 103 int value)
7f2691a1 Stefan Agner 2014-10-16 104 {
7f2691a1 Stefan Agner 2014-10-16 105 vf610_gpio_set(chip, gpio, value);
7f2691a1 Stefan Agner 2014-10-16 106
7f2691a1 Stefan Agner 2014-10-16 @107 return pinctrl_gpio_direction_output(chip->base + gpio);
7f2691a1 Stefan Agner 2014-10-16 108 }
7f2691a1 Stefan Agner 2014-10-16 109
bd0b9ac4 Thomas Gleixner 2015-09-14 110 static void vf610_gpio_irq_handler(struct irq_desc *desc)

:::::: The code at line 99 was first introduced by commit
:::::: 7f2691a19627a8d7723909b6e82468fd4437e445 gpio: vf610: add gpiolib/IRQ chip driver for Vybrid

:::::: TO: Stefan Agner <stefan@agner.ch>
:::::: CC: Linus Walleij <linus.walleij@linaro.org>

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[unhandled content-type:application/gzip]
\
 
 \ /
  Last update: 2017-07-06 07:07    [W:0.050 / U:1.388 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site