* [gpio:devel-gpio-driver-isolation 61/66] arch/arm/plat-orion/gpio.c:306:18: error: implicit declaration of function 'desc_to_gpio'; did you mean 'dev_to_psd'?
@ 2019-07-06 20:41 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2019-07-06 20:41 UTC (permalink / raw)
To: Linus Walleij; +Cc: kbuild-all, linux-gpio
[-- Attachment #1: Type: text/plain, Size: 3475 bytes --]
tree: https://kernel.googlesource.com/pub/scm/linux/kernel/git/linusw/linux-gpio.git devel-gpio-driver-isolation
head: 6c5bf689e0dca2a882193a202a96222dcba184e9
commit: f92518de7f35387d034f1b688354ff0ab4ad448d [61/66] ARM: plat-orion: Include the right header
config: arm-multi_v5_defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 7.4.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout f92518de7f35387d034f1b688354ff0ab4ad448d
# save the attached .config to linux build tree
GCC_VERSION=7.4.0 make.cross ARCH=arm
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
arch/arm/plat-orion/gpio.c: In function 'orion_gpio_led_blink_set':
>> arch/arm/plat-orion/gpio.c:306:18: error: implicit declaration of function 'desc_to_gpio'; did you mean 'dev_to_psd'? [-Werror=implicit-function-declaration]
unsigned gpio = desc_to_gpio(desc);
^~~~~~~~~~~~
dev_to_psd
>> arch/arm/plat-orion/gpio.c:315:3: error: implicit declaration of function 'gpio_set_value'; did you mean 'pin_is_valid'? [-Werror=implicit-function-declaration]
gpio_set_value(gpio, state);
^~~~~~~~~~~~~~
pin_is_valid
cc1: some warnings being treated as errors
vim +306 arch/arm/plat-orion/gpio.c
ff3e660b Arnaud Patard 2012-04-18 302
c673a2b4 Mika Westerberg 2014-10-31 303 int orion_gpio_led_blink_set(struct gpio_desc *desc, int state,
ff3e660b Arnaud Patard 2012-04-18 304 unsigned long *delay_on, unsigned long *delay_off)
ff3e660b Arnaud Patard 2012-04-18 305 {
c673a2b4 Mika Westerberg 2014-10-31 @306 unsigned gpio = desc_to_gpio(desc);
ff3e660b Arnaud Patard 2012-04-18 307
ff3e660b Arnaud Patard 2012-04-18 308 if (delay_on && delay_off && !*delay_on && !*delay_off)
ff3e660b Arnaud Patard 2012-04-18 309 *delay_on = *delay_off = ORION_BLINK_HALF_PERIOD;
ff3e660b Arnaud Patard 2012-04-18 310
ff3e660b Arnaud Patard 2012-04-18 311 switch (state) {
ff3e660b Arnaud Patard 2012-04-18 312 case GPIO_LED_NO_BLINK_LOW:
ff3e660b Arnaud Patard 2012-04-18 313 case GPIO_LED_NO_BLINK_HIGH:
ff3e660b Arnaud Patard 2012-04-18 314 orion_gpio_set_blink(gpio, 0);
ff3e660b Arnaud Patard 2012-04-18 @315 gpio_set_value(gpio, state);
ff3e660b Arnaud Patard 2012-04-18 316 break;
ff3e660b Arnaud Patard 2012-04-18 317 case GPIO_LED_BLINK:
ff3e660b Arnaud Patard 2012-04-18 318 orion_gpio_set_blink(gpio, 1);
ff3e660b Arnaud Patard 2012-04-18 319 }
ff3e660b Arnaud Patard 2012-04-18 320 return 0;
ff3e660b Arnaud Patard 2012-04-18 321 }
ff3e660b Arnaud Patard 2012-04-18 322 EXPORT_SYMBOL_GPL(orion_gpio_led_blink_set);
ff3e660b Arnaud Patard 2012-04-18 323
07332318 Lennert Buytenhek 2008-10-20 324
:::::: The code at line 306 was first introduced by commit
:::::: c673a2b4008103525a3cf21bedf15ffac37bfef0 leds: leds-gpio: Convert gpio_blink_set() to use GPIO descriptors
:::::: TO: Mika Westerberg <mika.westerberg@linux.intel.com>
:::::: CC: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 32050 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-07-06 20:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-06 20:41 [gpio:devel-gpio-driver-isolation 61/66] arch/arm/plat-orion/gpio.c:306:18: error: implicit declaration of function 'desc_to_gpio'; did you mean 'dev_to_psd'? kbuild test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).