[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201701230058.Veg5nuGm%fengguang.wu@intel.com>
Date: Mon, 23 Jan 2017 00:21:28 +0800
From: kbuild test robot <lkp@...el.com>
To: Paul Cercueil <paul@...pouillou.net>
Cc: kbuild-all@...org, Linus Walleij <linus.walleij@...aro.org>,
Rob Herring <robh+dt@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Ralf Baechle <ralf@...ux-mips.org>,
Ulf Hansson <ulf.hansson@...aro.org>,
Boris Brezillon <boris.brezillon@...e-electrons.com>,
Thierry Reding <thierry.reding@...il.com>,
Bartlomiej Zolnierkiewicz <b.zolnierkie@...sung.com>,
Maarten ter Huurne <maarten@...ewalker.org>,
Lars-Peter Clausen <lars@...afoo.de>,
Paul Burton <paul.burton@...tec.com>,
linux-gpio@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-mips@...ux-mips.org,
linux-mmc@...r.kernel.org, linux-mtd@...ts.infradead.org,
linux-pwm@...r.kernel.org, linux-fbdev@...r.kernel.org,
james.hogan@...tec.com, Paul Cercueil <paul@...pouillou.net>
Subject: Re: [PATCH v2 04/14] GPIO: Add gpio-ingenic driver
Hi Paul,
[auto build test ERROR on linus/master]
[also build test ERROR on v4.10-rc4 next-20170120]
[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/Paul-Cercueil/Ingenic-JZ4740-JZ4780-pinctrl-driver/20170122-232326
config: ia64-allmodconfig (attached as .config)
compiler: ia64-linux-gcc (GCC) 6.2.0
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
# save the attached .config to linux build tree
make.cross ARCH=ia64
All errors (new ones prefixed by >>):
drivers/gpio/gpio-ingenic.c: In function 'ingenic_gpio_direction_input':
>> drivers/gpio/gpio-ingenic.c:253:9: error: implicit declaration of function 'pinctrl_gpio_direction_input' [-Werror=implicit-function-declaration]
return pinctrl_gpio_direction_input(gc->base + offset);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpio/gpio-ingenic.c: In function 'ingenic_gpio_direction_output':
>> drivers/gpio/gpio-ingenic.c:260:9: error: implicit declaration of function 'pinctrl_gpio_direction_output' [-Werror=implicit-function-declaration]
return pinctrl_gpio_direction_output(gc->base + offset);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +/pinctrl_gpio_direction_input +253 drivers/gpio/gpio-ingenic.c
247 return (int) gpio_get_value(jzgc, offset);
248 }
249
250 static int ingenic_gpio_direction_input(struct gpio_chip *gc,
251 unsigned int offset)
252 {
> 253 return pinctrl_gpio_direction_input(gc->base + offset);
254 }
255
256 static int ingenic_gpio_direction_output(struct gpio_chip *gc,
257 unsigned int offset, int value)
258 {
259 ingenic_gpio_set(gc, offset, value);
> 260 return pinctrl_gpio_direction_output(gc->base + offset);
261 }
262
263 static const struct of_device_id ingenic_gpio_of_match[] = {
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Download attachment ".config.gz" of type "application/gzip" (45837 bytes)
Powered by blists - more mailing lists