Linux GPIO subsystem development
 help / color / mirror / Atom feed
* [gpio:devel-gpio-driver-isolation 10/14] arch/arm/plat-orion/gpio.c:316:3: error: implicit declaration of function 'gpio_set_value'; did you mean 'gpiod_set_value'?
@ 2019-08-08  4:35 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2019-08-08  4:35 UTC (permalink / raw)
  To: Linus Walleij; +Cc: kbuild-all, linux-gpio

[-- Attachment #1: Type: text/plain, Size: 3336 bytes --]

tree:   https://kernel.googlesource.com/pub/scm/linux/kernel/git/linusw/linux-gpio.git devel-gpio-driver-isolation
head:   e1db9bf671ed01b4f9fc33bbaa57d0c493c0389f
commit: 63aeaf4945d628653770b05655b0aed90ec1ae51 [10/14] 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 63aeaf4945d628653770b05655b0aed90ec1ae51
        # 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:316:3: error: implicit declaration of function 'gpio_set_value'; did you mean 'gpiod_set_value'? [-Werror=implicit-function-declaration]
      gpio_set_value(gpio, state);
      ^~~~~~~~~~~~~~
      gpiod_set_value
   cc1: some warnings being treated as errors

vim +316 arch/arm/plat-orion/gpio.c

ff3e660b5a881b Arnaud Patard     2012-04-18  303  
c673a2b4008103 Mika Westerberg   2014-10-31  304  int orion_gpio_led_blink_set(struct gpio_desc *desc, int state,
ff3e660b5a881b Arnaud Patard     2012-04-18  305  	unsigned long *delay_on, unsigned long *delay_off)
ff3e660b5a881b Arnaud Patard     2012-04-18  306  {
c673a2b4008103 Mika Westerberg   2014-10-31  307  	unsigned gpio = desc_to_gpio(desc);
ff3e660b5a881b Arnaud Patard     2012-04-18  308  
ff3e660b5a881b Arnaud Patard     2012-04-18  309  	if (delay_on && delay_off && !*delay_on && !*delay_off)
ff3e660b5a881b Arnaud Patard     2012-04-18  310  		*delay_on = *delay_off = ORION_BLINK_HALF_PERIOD;
ff3e660b5a881b Arnaud Patard     2012-04-18  311  
ff3e660b5a881b Arnaud Patard     2012-04-18  312  	switch (state) {
ff3e660b5a881b Arnaud Patard     2012-04-18  313  	case GPIO_LED_NO_BLINK_LOW:
ff3e660b5a881b Arnaud Patard     2012-04-18  314  	case GPIO_LED_NO_BLINK_HIGH:
ff3e660b5a881b Arnaud Patard     2012-04-18  315  		orion_gpio_set_blink(gpio, 0);
ff3e660b5a881b Arnaud Patard     2012-04-18 @316  		gpio_set_value(gpio, state);
ff3e660b5a881b Arnaud Patard     2012-04-18  317  		break;
ff3e660b5a881b Arnaud Patard     2012-04-18  318  	case GPIO_LED_BLINK:
ff3e660b5a881b Arnaud Patard     2012-04-18  319  		orion_gpio_set_blink(gpio, 1);
ff3e660b5a881b Arnaud Patard     2012-04-18  320  	}
ff3e660b5a881b Arnaud Patard     2012-04-18  321  	return 0;
ff3e660b5a881b Arnaud Patard     2012-04-18  322  }
ff3e660b5a881b Arnaud Patard     2012-04-18  323  EXPORT_SYMBOL_GPL(orion_gpio_led_blink_set);
ff3e660b5a881b Arnaud Patard     2012-04-18  324  
07332318f33da6 Lennert Buytenhek 2008-10-20  325  

:::::: The code at line 316 was first introduced by commit
:::::: ff3e660b5a881b401b2b6735aa5334f433237dcb orion/kirkwood: create a generic function for gpio led blinking

:::::: TO: Arnaud Patard (Rtp) <arnaud.patard@rtp-net.org>
:::::: CC: Jason Cooper <jason@lakedaemon.net>

---
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: 32560 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-08-08  4:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-08  4:35 [gpio:devel-gpio-driver-isolation 10/14] arch/arm/plat-orion/gpio.c:316:3: error: implicit declaration of function 'gpio_set_value'; did you mean 'gpiod_set_value'? 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